mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
fernet.rst: modernize password key derivation advice (#12409)
replace mention of bcrypt (which isn't supported by pyca/cryptography) with Argon2id
This commit is contained in:
parent
9d2f41cfa2
commit
45da8087ab
1 changed files with 2 additions and 1 deletions
|
|
@ -221,7 +221,8 @@ Using passwords with Fernet
|
|||
|
||||
It is possible to use passwords with Fernet. To do this, you need to run the
|
||||
password through a key derivation function such as
|
||||
:class:`~cryptography.hazmat.primitives.kdf.pbkdf2.PBKDF2HMAC`, bcrypt or
|
||||
:class:`~cryptography.hazmat.primitives.kdf.pbkdf2.PBKDF2HMAC`,
|
||||
:class:`~cryptography.hazmat.primitives.kdf.argon2.Argon2id` or
|
||||
:class:`~cryptography.hazmat.primitives.kdf.scrypt.Scrypt`.
|
||||
|
||||
.. doctest::
|
||||
|
|
|
|||
Loading…
Reference in a new issue