What padding scheme does OpenSSL::Cipher use when padding blocks for encryption? The documentation is vague.
http://www.ruby-doc.org/stdlib-1.9.3/libdoc/openssl/rdoc/OpenSSL/Cipher.html#method-i-padding-3D
I will need to use the encrypted data with a different language. I'm aware there are many types of padding:
https://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Padding