It looks like ruby openssl is not intended to encrypt large amount of data (like XML documents) because of: `private_encrypt': data too large for key size (OpenSSL::PKey::RSAError) Since there obvious are tools which do the job my question is. Can and how it be done with ruby? Thank you TheR -- Posted via http://www.ruby-forum.com/.