Skip to content

Commit

Permalink
Merge pull request #51544 from rhiroe/doc/Updated-the-default-digest-…
Browse files Browse the repository at this point in the history
…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]
  • Loading branch information
carlosantoniodasilva committed Apr 11, 2024
2 parents 93df871 + 7013b96 commit af78e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/active_record_encryption.md
Expand Up @@ -490,7 +490,7 @@ The default encoding for attributes encrypted deterministically. You can disable

#### `config.active_record.encryption.hash_digest_class`

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

#### `config.active_record.encryption.support_sha1_for_non_deterministic_encryption`

Expand Down

0 comments on commit af78e7f

Please sign in to comment.