instance method
decrypt
Ruby on Rails 3.2.22.5
Since v2.3.18Signature
decrypt(value)
No documentation comment.
Parameters
-
valuereq
Source
# File activesupport/lib/active_support/message_encryptor.rb, line 44
def decrypt(value)
ActiveSupport::Deprecation.warn "MessageEncryptor#decrypt is deprecated as it is not safe without a signature. " \
"Please use MessageEncryptor#decrypt_and_verify instead."
_decrypt(value)
end
Defined in activesupport/lib/active_support/message_encryptor.rb line 44
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::MessageEncryptor