ehaselsteiner / gmx.at wrote: > We did a really nice test tool in Ruby and I am really happy with the > language. > > Now, we would have to add cryptographic functions to our tests. Basically > DES, AES, SHA-1, HMAC, and RSA. So, I looked for crypto libraries for > Ruby. The only thing I found was OpenSSL. But this seems to be not > documented and I found only people telling that it is not working. I was > also not able to find an openssl.rb file which I could use just out of the > box. > > What is the status of this OpenSSL project ? The homepage looks kind of > not maintained. Take this as a first start to find out more how to do the other crypto-algorihtms: require 'openssl' def hmac(key, msg) OpenSSL::HMAC.hexdigest(OpenSSL::Digest::Digest.new('md5'), key, msg) end Hope this helps. Regards, Michael