Use it when configuring, checking or troubleshooting Cryptographic Hash in Cryptography.
Cryptographic Hash
A Cryptographic Hash maps arbitrary input to a fixed-size digest designed for preimage, second-preimage and collision resistance appropriate to the chosen algorithm and use.
data → hash function → digest
Context & applicabilityCommon mistakes · platform/version boundaries
Matching digests show byte equality to the compared reference with collision assumptions; they do not show the reference was trustworthy, the content authorized or a password hard to guess.
Suspicious evidence: MD5/SHA-1 for collision-sensitive trust, hash used as MAC, mismatched canonicalization, unauthenticated checksum file, truncated digest without analysis or fast hash for passwords.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
canonical input bytes → cryptographic hash → digest → authenticated reference distribution → comparison → integrity decision
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Hashing ≠ encryption.
- Digest match ≠ trusted reference or authorized source.
- Collision resistance ≠ password-guessing resistance.
- Checksum presence ≠ end-to-end integrity verification.
sha256sum <file>— SHA-256openssl dgst -sha3-256 <file>— SHA-3b3sum <file>— BLAKE3
ReferenceWhat it is1 section · depth on demand
Choosing a hash
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Matching digests show byte equality to the compared reference with collision assumptions; they do not show the reference was trustworthy, the content authorized or a password hard to guess.
In depth
A cryptographic hash function maps any input to a fixed-length digest such that it is infeasible to reverse, to find two inputs with the same digest (collision resistance), or to find another input matching a given digest (second-preimage resistance).
| Algorithm | Digest | Status |
|---|---|---|
| SHA-256 / SHA-384 / SHA-512 | 256/384/512 bits | Recommended |
| SHA-3 | Variable | Recommended alternative |
| BLAKE2/BLAKE3 | Variable | Fast, secure |
| SHA-1 | 160 bits | Broken for collisions — retire |
| MD5 | 128 bits | Broken — integrity checks against accidents only |
Uses: file integrity, digital signatures (sign the hash), HMAC, commit IDs, deduplication. Not for passwords on its own — use password hashing functions.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Cryptography → Cryptographic Hash. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/fips/197/final · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Cryptography → Cryptographic Hash proof map
Fast scope, effective cryptographic state, verification and closure boundaries for Cryptography → Cryptographic Hash.
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope and intent | Asset/data/peer, security property, identity/name, protocol and time | Does not prove algorithm, key, trust or endpoint correctness |
| Effective cryptographic state | Exact version, algorithm/mode/parameters, key/certificate/path and negotiated result | Configuration or object presence does not prove correct use |
| Verification outcome | Positive, negative, tamper, expiry/revoke and failure tests correlated with evidence | One success does not prove every peer, client, path or lifecycle stage |
| Closure | Original operation succeeds; old/unsafe state is retired and regression checks pass | Administrative workflow completion alone is not closure |