Skip to content
/
Suscribirse Subscribe

Detrás del telón hay sistemas, no magia. Arquitectura de software, IA y computación de bajo nivel para las trincheras de producción.

Behind the curtain there are systems, not magic. Software architecture, AI, and systems engineering from the production trenches.

(🇪🇸 Ver la versión en español de este Verificador SHA-256 y HMAC aquí)

100% CLIENT-SIDE · W3C WEBCRYPTO · ZERO FILE UPLOADS

Compute SHA-256, SHA-384, SHA-512, and HMAC digests on local files (binaries, container tarballs, PDFs, ISOs) or raw webhook payloads completely inside your browser's memory using native SubtleCrypto. Zero network transfers.

Drag and drop any local file here, or click to browse
Source: UTF-8 Text Input (0 network requests)
Integrity Check Result
Waiting expected hash
Bytes Hashed in RAM
44 B
Native Compute Time
0.20 ms
Hexadecimal Digest:
...

Base64 Digest:
...

Computed HMAC Signature:
...

Exact SHA-256 & RFC 2104 HMAC Formulas

Unlike non-cryptographic checksums (such as CRC32, which can be collided deliberately in milliseconds), SHA-2 family digests process fixed 512- or 1024-bit padded message schedules via one-way compression functions. Pairing them with a secret key via HMAC defends against length-extension attacks.

1. Merkle-Damgård Padding (SHA-256, 512-bit blocks):
M_padded = M || 0x80 || 0x00... (until L_bits ≡ 448 mod 512) || uint64_be(len_bits)

2. RFC 2104 HMAC Construction:
K' = (len(K) > B ? H(K) : K) zero-padded to block size B
HMAC(K,m)= H( (K' XOR 0x5c5c..5c) || H( (K' XOR 0x3636..36) || m ) )

3. Collision Resistance Bound (Birthday Paradox):
SHA-256 => 2^(256/2) = 2^128 operations (~3.4 × 10^38 evaluations)

Verified Official Cryptographic Standards

Algorithm & Security Comparison

Algorithm Output Length Internal Block Collision Bound Production Role in 2026
SHA-256 256 bits (64 hex) 512 bits (64 B) 2128 OCI image digests, release tars, TLS, webhook HMACs
SHA-384 384 bits (96 hex) 1024 bits (128 B) 2192 ES384 JWTs, high-assurance PKI & CNSA profiles
SHA-512 512 bits (128 hex) 1024 bits (128 B) 2256 Often beats SHA-256 throughput on 64-bit CPUs
SHA-1 160 bits (40 hex) 512 bits (64 B) Broken (~263) Legacy checksum compatibility only — never trust for security

Frequently Asked Questions

Are uploaded files or HMAC secret keys ever sent over the network?

Never. Files are read straight from disk into local browser memory via FileReader and digested via window.crypto.subtle. You can unplug your network interface after the page loads and every hash and HMAC computation continues working identically.

Why can SHA-512 outperform SHA-256 on large local files?

SHA-512 operates on 64-bit words over 1024-bit blocks, mapping directly onto native 64-bit integer ALUs in modern x86_64 and ARM64 chips—unless the CPU specifically exposes dedicated SHA-256 hardware instructions (SHA-NI / ARMv8 Crypto).

Browser memory note: Single-buffer WebCrypto hashing provides native wire speed inside browser RAM and is capped at ~1.2 GB per file to prevent tab OOMs. For multi-gigabyte OS ISOs, verify locally using CLI sha256sum (Linux) or Get-FileHash -Algorithm SHA256 (Windows PowerShell).
Suscribirse Subscribe