Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Cryptographic Hash

Direct answer

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.

When to use this

Use it when configuring, checking or troubleshooting Cryptographic Hash in Cryptography.

First 30 seconds

1. Cryptographic hashes map data to fixed-size digests; one-way and collision-resistant.

2. Use SHA-256/384/512, SHA-3, BLAKE2/3.

3. Not for passwords (use slow KDFs).

4. MD5/SHA-1 broken for collisions.

5. For integrity verification and signatures.

Operational verification

data → hash function → digest

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

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.

Platform / version applicability
Cryptography, PKI and secrets
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCryptography, PKI and secrets
Scope / prerequisiteUse it when configuring, checking or troubleshooting Cryptographic Hash in Cryptography.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • Hashing ≠ encryption.
  • Digest match ≠ trusted reference or authorized source.
  • Collision resistance ≠ password-guessing resistance.
  • Checksum presence ≠ end-to-end integrity verification.
Key checks
  • sha256sum <file> — SHA-256
  • openssl dgst -sha3-256 <file> — SHA-3
  • b3sum <file> — BLAKE3
ReferenceWhat it is1 section · depth on demand

Choosing a hash

PurposeUse
Integrity, signaturesSHA-256/384/512, SHA-3, BLAKE2/3
Message authenticationHMAC-SHA-256
PasswordsArgon2id, scrypt, bcrypt (not plain hashes)
Non-security checksumsCRC32, xxHash

Do not use MD5 or SHA-1 for security. Plain SHA256(secret || message) is vulnerable to length extension; use HMAC.

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).

AlgorithmDigestStatus
SHA-256 / SHA-384 / SHA-512256/384/512 bitsRecommended
SHA-3VariableRecommended alternative
BLAKE2/BLAKE3VariableFast, secure
SHA-1160 bitsBroken for collisions — retire
MD5128 bitsBroken — 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCryptography, PKI and secrets current

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%
Terminology layer

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.

Aliases that resolve here
secure hashcryptographic digesthash integrity check
Embedded reference data

Quick lookup tables

Cryptography → Cryptographic Hash proof map

Fast scope, effective cryptographic state, verification and closure boundaries for Cryptography → Cryptographic Hash.

BoundaryEstablishDoes not establish
Scope and intentAsset/data/peer, security property, identity/name, protocol and timeDoes not prove algorithm, key, trust or endpoint correctness
Effective cryptographic stateExact version, algorithm/mode/parameters, key/certificate/path and negotiated resultConfiguration or object presence does not prove correct use
Verification outcomePositive, negative, tamper, expiry/revoke and failure tests correlated with evidenceOne success does not prove every peer, client, path or lifecycle stage
ClosureOriginal operation succeeds; old/unsafe state is retired and regression checks passAdministrative workflow completion alone is not closure
Confirmation

Confirm action

Continue?