1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix Message::Encryptor default cipher [ci skip]

Follow up of #29263
This commit is contained in:
yuuji.yaginuma 2017-06-12 07:47:13 +09:00
parent 36b349e387
commit 9231d2a0b4

View file

@ -67,7 +67,7 @@ module ActiveSupport
# #
# Options: # Options:
# * <tt>:cipher</tt> - Cipher to use. Can be any cipher returned by # * <tt>:cipher</tt> - Cipher to use. Can be any cipher returned by
# <tt>OpenSSL::Cipher.ciphers</tt>. Default is 'aes-256-cbc'. # <tt>OpenSSL::Cipher.ciphers</tt>. Default is 'aes-256-gcm'.
# * <tt>:digest</tt> - String of digest to use for signing. Default is # * <tt>:digest</tt> - String of digest to use for signing. Default is
# +SHA1+. Ignored when using an AEAD cipher like 'aes-256-gcm'. # +SHA1+. Ignored when using an AEAD cipher like 'aes-256-gcm'.
# * <tt>:serializer</tt> - Object serializer to use. Default is +Marshal+. # * <tt>:serializer</tt> - Object serializer to use. Default is +Marshal+.