Is there a easy-used two-way encryption method for string in ruby?
+1
A:
This article discusses someone who wrapped RSA encryption and decryption in Ruby. As I do not speak the language I cannot attest to its usefulness, but I couldn't let the Base64 answer go unchallenged.
Public-key cryptography of any kind is going to be the best solution, depending on what you're after. The user can be completely unaware of its existence if you do it right.
Looks like the openssl
module (gem?) is a place to start.
Jed Smith
2009-11-09 06:40:22
Upon re-reading your question it seems like I misunderstood...leaving my answer just in case this really is what you were looking for.
gpaul
2009-11-09 22:16:25