I need a gem to perform simple string encryption and decryption in Ruby for values I want to store in the database. Can anyone suggest a good open source gem to use for this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That depends on what you mean with simple – the encryption algorithm or the use of the gem?
If you need nontoy encryption, then I would suggest you take a look at the ‘crypt’ gem.