Q:

Use a Crypto algorithm to store and retrieve User name and User Password

I am using devise gem to the user registration and session handling module of my application.
I want to encrypt usernames and passwords so that i can store that in db and in order to use that both in my app I can retrieve that from db and use them. Any Help?

A:

Devise already does this. So, you don't have to care about encryption of password.

