Skip to content

Commit af78e7f

Browse files
Merge pull request rails#51544 from rhiroe/doc/Updated-the-default-digest-algorithm-used-for-key-derivation-in-ActiveRocord-Encryption-to-SHA256
Update the guide reference on the default digest algorithm used for key derivation in ActiveRecord Encryption to SHA256. [ci skip]
2 parents 93df871 + 7013b96 commit af78e7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/active_record_encryption.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ The default encoding for attributes encrypted deterministically. You can disable
490490

491491
#### `config.active_record.encryption.hash_digest_class`
492492

493-
The digest algorithm used to derive keys. `OpenSSL::Digest::SHA1` by default.
493+
The digest algorithm used to derive keys. `OpenSSL::Digest::SHA256` by default.
494494

495495
#### `config.active_record.encryption.support_sha1_for_non_deterministic_encryption`
496496

0 commit comments

Comments
 (0)