Hash Lab
Tools
Interactive utilities for working with hash functions. Everything runs locally in your browser via WebAssembly.
Multi-algorithm Hasher
Paste any text and see ten algorithms compute side-by-side: MD5, SHA-1, SHA-2, SHA-3, BLAKE2b, BLAKE3, RIPEMD-160.
File Hasher
Drop a file and hash it under nine algorithms in your browser. Streaming with progress; gigabyte-sized files supported.
Avalanche Tester
Flip a single bit of the input and watch the output cascade. Per-bit difference heatmap across N trials.
Algorithm Comparator
Pick 2-5 algorithms; see specs, security bits, speed benchmarks, and standards side-by-side.
HMAC Playground
Compute HMAC-SHA-256, HMAC-SHA-512, HMAC-BLAKE2 with custom keys. Compare against the naive H(key || message).
KDF Lab
Argon2id / scrypt / PBKDF2 / bcrypt with interactive cost-parameter sliders and time-to-derive measurements.
Length-extension Attack
Live demo of why H(key || message) is not a MAC. Forge a digest for an extension without knowing the key.
Merkle-Damgård Animator
Step through SHA-256 block by block. Watch padding, chaining variable evolution, and the final state become the digest.
Sponge Animator (SHA-3)
Watch SHA3-256 absorb input into a 5x5 state and squeeze out a digest. See why the sponge is immune to length-extension.
Hash Image Cipher
Encrypt an image with a hash-derived keystream + optional pixel permutation. Drop an encrypted image back in with the same key to decrypt.
Build your own hash function
Compose a toy hash from construction (MD / HAIFA / sponge) and primitive (XOR-rot / S-box / mini-Keccak). Measure avalanche, hunt collisions, mount length-extension.