openssl-rsa-poc Proof of concept for RSA key generation and string encryption in ruby References I found useful: http://www.ruby-doc.org/stdlib-2.1.0/libdoc/openssl/rdoc/OpenSSL/PKey/RSA.html http://stuff-things.net/2009/12/11/generating-rsa-key-pairs-in-ruby/ http://stuff-things.net/2008/02/05/encrypting-lots-of-sensitive-data-with-ruby-on-rails/