【发布时间】:2013-07-26 01:59:28
【问题描述】:
OpenSSL::Cipher 在填充块进行加密时使用什么填充方案?文档含糊不清。
http://www.ruby-doc.org/stdlib-1.9.3/libdoc/openssl/rdoc/OpenSSL/Cipher.html#method-i-padding-3D
我需要使用不同语言的加密数据。我知道有很多类型的填充:
https://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Padding
【问题讨论】:
标签: ruby-on-rails encryption openssl aes cbc-mode