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