I'm using devise for auth. I'd like to encrypt all the data a users enters before sending it into the db.
Is this possible?
I've found this gem but I'm not sure how I could solve the problem.
Basically no one how could access the database should be able to read the data, only with the users password.
to make it even more clear:
users creates a password on registration, I don't know that password because it's encrypted, user has some data which is encrypted as well, no one could access or read the data.
Am I too ambitious about that ?