RSA.rb is a pure-Ruby implementation of the RSA encryption algorithm and the PKCS#1 cryptography standard.
Arto Bendiken
gem "rsa", "~> 0.1.4"