class documentation
class PBKDF2SHA1PasswordHasher(PBKDF2PasswordHasher): (source)
Alternate PBKDF2 hasher which uses SHA1, the default PRF recommended by PKCS #5. This is compatible with other implementations of PBKDF2, such as openssl's PKCS5_PBKDF2_HMAC_SHA1().
Class Variable | algorithm |
Undocumented |
Inherited from PBKDF2PasswordHasher
:
Method | decode |
Return a decoded database value. |
Method | encode |
Create an encoded database value. |
Method | harden |
Bridge the runtime gap between the work factor supplied in `encoded` and the work factor suggested by this hasher. |
Method | must |
Undocumented |
Method | safe |
Return a summary of safe values. |
Method | verify |
Check if the given password is correct. |
Class Variable | iterations |
Undocumented |
Inherited from BasePasswordHasher
(via PBKDF2PasswordHasher
):
Method | salt |
Generate a cryptographically secure nonce salt in ASCII with an entropy of at least `salt_entropy` bits. |
Class Variable | library |
Undocumented |
Class Variable | salt |
Undocumented |
Method | _check |
Undocumented |
Method | _load |
Undocumented |