class documentation

class PBKDF2SHA1PasswordHasher(PBKDF2PasswordHasher): (source)

View In Hierarchy

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_runtime Bridge the runtime gap between the work factor supplied in `encoded` and the work factor suggested by this hasher.
Method must_update Undocumented
Method safe_summary 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_entropy Undocumented
Method _check_encode_args Undocumented
Method _load_library Undocumented