Password Hashing
Hashing prevents attackers from discovering or stealing passwords because they are not stored in cleartext.
For example, when users create an account with a username and password on a website, their password is hashed and stored encrypted on the internal file system.
When users log in, the password goes through a one-way hashing algorithm that converts the password into a different and unrecognizable character string.
During login, this string is compared with other hashes stored in the website’s database.
If the credentials match the stored hash, users can access the account.
If it does not match, the hash check fails and users cannot log in.
You Can Also Read – What Is Password Salting ?