noun
A password hash is a one-way mathematical function that transforms a password into a fixed-length string of characters, making it unreadable without the original input.
When you create a password, websites and apps store its hash instead of the password itself. If a hacker steals the database, they only get the hashes, not the actual passwords.
This protects your password even if a system is breached. For example, in 2021, a hacker leaked 5.4 billion hashed passwords from a major platform, but most were useless without the original hashing algorithm.
When you log in, the system checks if your typed password matches the stored hash, not the original password.
In other languages
See also: encryption · data breach