Password hashing

Password hashing turns the password into an irreversible fingerprint, stored in place of the password. You use a slow, dedicated algorithm (argon2, bcrypt, scrypt) and not a fast hash like SHA-256 alone. At login, you compare the fingerprint of the entered word.

Example

hash = argon2.hash(motdepasse)
argon2.verify(hash, motdepasse)

Related concepts

The whole glossary