make_password(password, salt=None, hasher='default')
[source]
Creates a hashed password in the format used by this application. It takes one mandatory argument: the password in plain-text. Optionally, you can provide a salt and a hashing algorithm to use, if you don’t want to use the defaults (first entry of PASSWORD_HASHERS
setting). See Included hashers for the algorithm name of each hasher. If the password argument is None
, an unusable password is returned (a one that will be never accepted by check_password()
).
Please login to continue.