Hashing meaning: what a hash is, and what it is not
Published
Hashing means running data through a function that returns a short value of fixed length, called a hash. This guide reads NIST’s glossary entry for hash function, NIST’s page on hash functions, NIST’s two hash standards (FIPS 180-4 and FIPS 202), NIST’s notice on SHA-1, NIST’s password guideline and the IETF’s note on MD5, for what a hash is, what it is not and where it is misused; then it says where Sealbox, an iPhone app that seals messages before any channel, uses a hash, and where that stops.
Short answer: a hash is a fingerprint, not a lock. A plain hash has no key to turn it back, and NIST’s glossary lists one-way as a property of an approved hash function. So a hash is not encrypted data, and there is no way to decrypt it the way encrypted data is decrypted. Sealbox is not a hashing tool, and this guide is not a how-to for hashing; the last section says where Sealbox uses a hash inside its own sealing, and what that does not mean.
What a hash is, in NIST’s words
NIST’s glossary page for hash function collects the definitions its publications use. One defines a hash function as a "function on bit strings in which the length of the output is fixed", and says the output "often serves as a condensed representation of the input". Another says a hash function maps "a bit string of arbitrary length to a fixed-length bit string". Another says "A hash function can be considered to be a fingerprint of the file or message." NIST’s page on hash functions says a hash algorithm is used to "map a message of arbitrary length to a fixed-length message digest".
The glossary page lists the two properties NIST expects of an approved hash function. The first is "(One-way) It is computationally infeasible to find any input that maps to any new pre-specified output". The second is "(Collision-resistant) It is computationally infeasible to find any two distinct inputs that map to the same output." In this guide’s reading, the first says you can go from the data to the hash but not from the hash back to the data, and the second says nobody can feasibly find two different inputs that share a hash.
NIST’s two standards say what hashes are for. The abstract of FIPS 180-4, the Secure Hash Standard, says the digests "are used to detect whether messages have been changed since the digests were generated". The abstract of FIPS 202, the SHA-3 standard, says hash functions "are components for many important information security applications, including 1) the generation and verification of digital signatures, 2) key derivation, and 3) pseudorandom bit generation".
A hash is not encryption, and it is not decrypted
In this guide’s reading, encryption is made to be undone by whoever holds the key, and a hash is made so that there is nothing to undo: the output is a fixed-length fingerprint, and the one-way property says nobody can feasibly find an input from it. Our guide on cryptography reads the field in general, and our guide on symmetric encryption reads the case where one key locks and unlocks.
What a person can do is guess. NIST’s password guideline describes an attacker who "has obtained a hashed password file", and says attackers can "compute many billions of hashes per second in an offline environment that is not subject to rate limiting". In this guide’s reading, that is what cracking a hash means: take a likely input, hash it, compare, repeat. It works when the input is short or predictable, and it does not run the hash backwards.
Two properties make a hash useful for checking. The first is that the output depends on the whole input: NIST’s notice on SHA-1 says "even a slight change to the message alters the resulting hash dramatically". The second is the collision resistance above. In this guide’s reading, that is why a plain hash suits a check for change and does not suit hiding anything.
Where hashes are misused: passwords, files, SHA-1 and MD5
- Passwords. A bare hash is not what NIST asks for. The password guideline says "Verifiers SHALL store passwords in a form that is resistant to offline attacks. Passwords SHALL be salted and hashed using a suitable password hashing scheme." It adds "Password hashing schemes take a password, a salt, and a cost factor as inputs and generate a password hash", whose purpose is to "make each password guess more expensive for an attacker who has obtained a hashed password file". In this guide’s reading, the mistake is storing a password as one fast hash with no salt and no cost factor.
- Files. A hash next to a download lets you detect a change, which is what FIPS 180-4 describes. In this guide’s reading, it does not show who made the file: if one party can change both the file and its hash, a match proves nothing about where the file came from. FIPS 202 puts hash functions among the components of "the generation and verification of digital signatures", which, in this guide’s reading, is where origin is handled.
- SHA-1. NIST’s page on hash functions says "NIST deprecated the use of SHA-1 in 2011 and disallowed its use for digital signatures at the end of 2013". NIST’s notice says "NIST recommends that anyone relying on SHA-1 for security switch to using the more secure SHA-2 and SHA-3 groups of algorithms", and that SHA-1 "should be phased out by Dec. 31, 2030". The same notice says "Today’s more powerful computers can create fraudulent messages that result in the same hash as the original".
- MD5. The IETF’s RFC 6151 says "The published attacks against MD5 show that it is not prudent to use MD5 when collision resistance is required." In this guide’s reading, MD5 does not appear on NIST’s hash-functions page, which names the SHA-1 and SHA-2 algorithms of FIPS 180-4 and the SHA-3 algorithms of FIPS 202.
The names matter, because SHA-2 and SHA-3 are different families. NIST’s hash-functions page says FIPS 180-4 "specifies seven hash algorithms", SHA-1 and the SHA-2 family, and FIPS 202 specifies four fixed-length hash algorithms in the SHA-3 family. In this guide’s reading, a system that says only SHA has not said which one it uses.
Beside the hash: where Sealbox uses one, and where it stops
Sealbox is an iPhone app (iOS 26+ at launch) that seals messages before any channel. The site says "Coming to the App Store", so this section reports what the site, the project’s documents and the project’s code say, not what a store listing shows. Sealbox is not a tool for hashing your files or text, and this guide does not use it for that.
Where Sealbox uses a hash. The site’s reference page names four things that Sealbox derives with SHA-3: the session and vault keys, the identity fingerprint, the remote-pairing commitment and the recovery phrase’s check digit. The project’s cryptography document says the same four use SHA-3: HKDF-SHA3-256 for the keys, and SHA3-256 for the identity fingerprint, the pairing commitment and the check digit. The project’s code does too: HKDF with SHA3-256 for the session and vault keys, and SHA3-256 for the other three. In this guide’s reading, these are hashes used as parts of sealing, not a feature that hashes anything for you.
The limits. The site says SHA-2 also appears in Sealbox, including inside HPKE (HKDF-SHA-256) and in the pre-hash of the composite signature (SHA-512). In this guide’s reading, what keeps a sealed message unreadable is encryption, not a hash: the site says "The channel carries ciphertext, never your text." The site also lists what Sealbox does not protect, among it "A compromised, unlocked device in active use. Malware that reads your screen as you read is beyond any encryption app — for everyone." A hash changes none of that.
What this guide does not say. This guide does not say that Sealbox hashes your files or messages for you, that using SHA-3 makes Sealbox safe, that SHA-2 is broken, or that every hash in the app is SHA-3: it names the uses above. It does not say that a hash on its own protects a message.
Sources
- NIST CSRC: hash function - Glossary — Verified on
- NIST CSRC: Hash Functions — Verified on
- NIST CSRC: FIPS 180-4, Secure Hash Standard (SHS) — Verified on
- NIST CSRC: FIPS 202, SHA-3 Standard: Permutation-Based Hash and Extendable-Output Functions — Verified on
- NIST: NIST Retires SHA-1 Cryptographic Algorithm — Verified on
- NIST: NIST Special Publication 800-63B — Verified on
- IETF: RFC 6151, Updated Security Considerations for the MD5 Message-Digest and the HMAC-MD5 Algorithms — Verified on
Frequently asked questions
What does hashing mean?
Hashing means running data through a function that returns a fixed-length value, called a hash. NIST’s glossary says a hash function can be considered a fingerprint of the file or message. The hash is computed from the data, and it is not a copy of it.
Can you decrypt a hash?
Not the way encryption is undone. A plain hash has no key, and NIST’s glossary lists as a property of an approved hash function that it is computationally infeasible to find any input that maps to any pre-specified output. What an attacker can do is guess inputs, hash them and compare, which can work on short or predictable inputs such as passwords.
Is hashing the same as encryption?
No. In this guide’s reading, encryption is made to be undone by whoever holds the key, and a hash is a fixed-length fingerprint made so that there is nothing to undo. NIST’s FIPS 180-4 says digests are used to detect whether messages have been changed; a hash does not hide the data.
Are SHA-1 and MD5 still safe to use?
NIST recommends that anyone relying on SHA-1 for security switch to SHA-2 or SHA-3, and says SHA-1 should be phased out by December 31, 2030. The IETF’s RFC 6151 says the published attacks against MD5 show that it is not prudent to use MD5 when collision resistance is required.
Does Sealbox use hashing?
Yes, inside its sealing. The site names four things that Sealbox derives with SHA-3: the session and vault keys, the identity fingerprint, the remote-pairing commitment and the recovery phrase’s check digit. SHA-2 also appears in the app, so not every hash in it is SHA-3. Sealbox is not a tool for hashing your files or text, and, in this guide’s reading, a hash does not protect a message: the site says the channel carries ciphertext.
No form, no list, no tracker — it's just email. If the button doesn't open your mail app, write to support@sealbox.io with the subject "Notify me".
Coming to the App Store · iOS 26+