How It Works Under the Hood
Streams selected local file bytes or UTF-8 text buffers directly into `window.crypto.subtle.digest()` across `SHA-1`, `SHA-256`, `SHA-384`, and `SHA-512`, performs length-normalized XOR comparisons against `SHA256SUMS` lines, and derives raw HMAC tags via `crypto.subtle.sign('HMAC', ...)`.
Step-by-Step Instructions
Choose a local file (archive, binary, ISO) or type UTF-8 text to compute all four SHA digests instantaneously.
Paste an official digest string or `sha256sum` manifest line to verify MATCHED vs MISMATCH.
In Section 2, pick `HMAC-SHA256`, `HMAC-SHA512`, or `HMAC-SHA1` plus `HEX` or `BASE64` format.
Enter your webhook secret and raw body payload to reproduce API signatures locally.
Key Features & Performance
- Native hardware-accelerated Web Crypto hashing handles multi-hundred-MB downloads fast
- Simultaneously outputs SHA-256, SHA-512, SHA-384, and SHA-1 digests for quick copy
- Parses GNU `sha256sum` / `SHA256SUMS` manifest formats (`<hash> <filename>`) cleanly
- Built-in HMAC-SHA256 / SHA-512 signature generator supports both HEX (GitHub/Stripe) and Base64 (Shopify) formats
- Zero server exposure: safe for private webhook secrets and unpublished release artifacts
Methodology, Formulas & Technical Standards
Comparison uses constant-time character XOR accumulation across lowercase hex strings, matching standard GNU coreutils checksum formatting (`hash *filename` or raw hex).
Common Real-World Use Cases
- Verifying integrity of downloaded CLI binaries, crypto wallets, or OS installers against publisher checksums
- Debugging `X-Hub-Signature-256` or webhook HMAC mismatches locally without exposing signing secrets
- Validating S3/R2 artifact integrity manifests before production deployment
- Generating quick API HMAC request signatures while testing curl/insomnia integrations
Worked Examples & Edge Cases
SHA256SUMS Manifest Match
File digest vs `a948904f... release.tar.gz`
MATCHED — release.tar.gz
Ignores binary asterisk flags (`*filename`) and case differences.
Shopify vs GitHub HMAC Output
Secret + JSON payload -> Base64 vs Hex
Instant HMAC-SHA256 encoded to exact webhook header format
Always hash the exact un-prettified raw payload string bytes.
Limitations, Scope & Accuracy Notes
- • Browser Web Crypto (`SubtleCrypto`) intentionally omits legacy MD5 due to collision insecurity and supports SHA-1/256/384/512 cleanly.
- • Multi-gigabyte disk ISO images (`>2 GB`) may exceed single `ArrayBuffer` limits in memory-constrained browsers.
Local Browser Processing & Privacy
Traditional web converters upload your documents, snippets, or media files to remote servers. SHA Checksum & Webhook HMAC Verifier runs inside your browser tab:
Your input text and files are processed locally without uploading payloads to a processing server.
Microdeck does not log or store the files or inputs you paste into tool workspaces (normal static hosting/CDN requests still load page assets).
Working outputs stay in your browser tab and are released when you reset the tool or close the tab.
Frequently Asked Questions
Why does HMAC verification sometimes differ from my server code?
Check whether your server hashes raw request body bytes (`req.text()`) versus re-serialized JSON (`JSON.stringify()`), and check `hex` vs `base64` encoding.
Does uploading a 200 MB release file send anything over my internet connection?
No. `file.arrayBuffer()` stays completely local inside browser RAM.
Why is SHA-256 recommended over SHA-1?
SHA-1 has practical collision weaknesses; SHA-256 and SHA-512 remain industry standard for tamper verification and HMAC signing.
Can I verify multiple checksum lines at once?
Yes. Paste the entire `SHA256SUMS` block and each line reports MATCHED or MISMATCH cleanly.
Explore Related Micro-Tools
Secure Offline Password & Hash Generator
Generate cryptographically secure passwords & WebCrypto hashes with zero server logs
Client-Side AES-256 File Encryptor & Decryptor
Password-protect sensitive contracts, keys & archives with AES-256-GCM + PBKDF2
Offline Zero-Log JWT & Hash Inspector
Decode JSON Web Tokens and check expiration with 100% privacy