method
encrypt_and_sign
v3.2.8 -
Show latest stable
- Class:
ActiveSupport::MessageEncryptor
encrypt_and_sign(value)public
Encrypt and sign a message. We need to sign the message in order to avoid padding attacks. Reference: http://www.limited-entropy.com/padding-oracle-attacks