SHA-2 Hash Lab
Live SHA-1, SHA-256, SHA-384 and SHA-512 in the browser. Watch the avalanche effect at bit level — change one character and roughly half the output bits flip.
sha-256 · sha-512 · hash · webcrypto
Live SHA-1, SHA-256, SHA-384 and SHA-512 in the browser. Watch the avalanche effect at bit level — change one character and roughly half the output bits flip.
sha-256 · sha-512 · hash · webcrypto
Hash functions exist for three properties: deterministic identity (same input → same output), fixed size (any input → same length output), avalanche (one-bit input change → ~50% of output bits flip).
This lab shows all three at once. Line A is fixed, line B is editable — change one character of B and watch the hash change completely, with the bar below counting the bit flips.
——İdeal bir kriptografik hash'te tek karakterlik değişiklik bit'lerin ~%50'sini çevirir. A ve B girdileri aynı — hash'ler özdeş.
crypto.subtle.digest('SHA-256', encoded) — the browser's WebCrypto, also in Node 18+. No third-party library needed.
Don't use this for password hashing — you need Argon2id, scrypt, or at minimum PBKDF2-100k. Raw SHA-256 is for file checksums, content addressing, HMAC infrastructure, and similar.