method
default_cipher
rails latest stable - Class:
ActiveSupport::MessageEncryptor
default_cipher()public
No documentation available.
# File activesupport/lib/active_support/message_encryptor.rb, line 96
def default_cipher # :nodoc:
if use_authenticated_message_encryption
"aes-256-gcm"
else
"aes-256-cbc"
end
end