From: "Technorama Ltd." Date: 2007-03-21T04:44:14+09:00 Subject: Re: Ruby and Cryptography > Ruby ships with an OpenSSL interface so you can use the encryption > available in openssl in ruby. > > One example of using OpenSSL and Ruby for encryption is : > > http://snippets.dzone.com/posts/show/576 > > It is true that the documentation on using OpenSSL from Ruby is lacking. Updated documentation is available at http://technorama.net/~oss/ruby/openssl/doc/ The documention isn't complete. Not all classes or methods are documented. Callbacks aren't documented at all. Few classes or methods have examples on their usage beyond a simple method call. Here's a summary of what classes are or aren't documented. Note: "complete" means the method shows up in rdoc, not that there is useful documentation on how it works. 90% complete OpenSSL::Cipher::Cipher OpenSSL::Digest::Digest OpenSSL::HMAC OpenSSL::SSL::Session (doesn't exist in 1.8 or 1.9 yet) 75% complete OpenSSL::PKey::DH OpenSSL::PKey::DSA OpenSSL::PKey::RSA No documentation ASN1 BN PKCS* Random X509* SSL* -- Posted via http://www.ruby-forum.com/.