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