I'm seeing inconsistencies and errors in encrypting/decrypting with jruby-openssl on my EC2 instance. However, everything works fine on my Mac.
OSX 10.6.2 – All is well here
Ubuntu 8.04 on EC2 - MRI works fine, but both 0.5.2 and 0.6.0 versions of jRuby-OpenSSL product bad results
Please note that in addition to the 0.6.0 error, the encrypted string for 0.5.2 is incorrect