File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
activerecord/lib/active_record/encryption Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,10 @@ module EncryptableRecord
18
18
#
19
19
# === Options
20
20
#
21
- # * <tt>:key_provider</tt> - Configure a +KeyProvider+ for serving the keys to encrypt and
22
- # decrypt this attribute. If not provided, it will default to +ActiveRecord::Encryption.key_provider+.
21
+ # * <tt>:key_provider</tt> - A key provider to provide encryption and decryption keys. Defaults to
22
+ # +ActiveRecord::Encryption.key_provider+.
23
23
# * <tt>:key</tt> - A password to derive the key from. It's a shorthand for a +:key_provider+ that
24
24
# serves derivated keys. Both options can't be used at the same time.
25
- # * <tt>:key_provider</tt> - Set a +:key_provider+ to provide encryption and decryption keys. If not
26
- # provided, it will default to the key provider set with +config.key_provider+.
27
25
# * <tt>:deterministic</tt> - By default, encryption is not deterministic. It will use a random
28
26
# initialization vector for each encryption operation. This means that encrypting the same content
29
27
# with the same key twice will generate different ciphertexts. When set to +true+, it will generate the
You can’t perform that action at this time.
0 commit comments