cdh.core.hashers module

class cdh.core.hashers.PBKDF2WrappedMD5PasswordHasher[source]

Bases: PBKDF2PasswordHasher

algorithm = 'pbkdf2_wrapped_md5'
encode(password, salt, iterations=None)[source]

Create an encoded database value.

The result is normally formatted as “algorithm$salt$hash” and must be fewer than 128 characters.

encode_md5_hash(md5_hash, salt, iterations=None)[source]