What is a hash value?
A hash value is a short fixed-length fingerprint made from data by a hash function. If even one bit of the data changes, the hash changes, so hashes...
Systems store a hash of a password, not the password itself. Recovery means guessing candidates and comparing their hashes. Long, unique passwords and good storage make this slow or impractical.
A hash function turns any input into a fixed-size value and cannot be reversed directly. A system keeps the hash of your password. At login it hashes what you type and compares the two. A salt is a random value stored with the hash and added before hashing. NIST describes a salt as a value that stops an attacker reusing results between instances.
Because of the salt, two users with the same password get different hashes.
In forensics, recovery is used in a lawful setting, for example to open an encrypted file that an authorised case requires. Recovery is guessing, not reversing. The process hashes many candidate passwords and compares them with the target hash. Candidates come from wordlists, which are lists of common or leaked passwords, and from rules that change words in common ways.
This page explains concepts only. Practise only on files and hashes you created yourself or are allowed to test.
Every extra character multiplies the number of possibilities. Random long passwords do not appear in wordlists. Slow, memory-hard hashing methods make each guess expensive. NIST guidance also asks services to salt and hash stored passwords with a suitable method, block common and breached passwords and limit failed attempts.
Procedures and laws differ by country and agency, follow your lab's own procedure and authority for any recovery work.
| Plain text | Hash only | Salted slow hash | |
|---|---|---|---|
| Password readable if database leaks | Yes | Not directly | Not directly |
| Same password gives same stored value | Yes | Yes | No |
| Cost of each guess | None | Low | High |
A lab receives a test archive that a trainer protected with a short, common word. The student extracts the hash from the archive, identifies the hash type and checks it against a small wordlist in the training lab. It is found quickly. The trainer then shows that a long random passphrase resists the same method.
So the same password gives different hashes, and precomputed results cannot be reused.
It is not in wordlists and the number of possible guesses is very large.
Written in our own words from public forensic training material and standards. Last reviewed 24 Nov 2026. Procedures and laws differ by country and agency. Follow your own lab's procedure.