~/tools / Hash Generator
Hash Generator
Compute SHA-1 / SHA-256 / SHA-384 / SHA-512 hashes of text using the browser's Web Crypto API. Nothing is sent to a server.
Hashes are used for detecting file tampering (verifying integrity of a download), generating API request signatures, and simple duplicate detection. The same input always produces the same hash.
# Use Cases
- Verifying a downloaded file's checksum against the hash published by its source
- Sanity-checking how an API request signature (e.g. an HMAC input) would be computed
- Quickly comparing two pieces of text for an exact match
# Usage
- Paste the text you want to hash into the box.
- Click "Compute hash" to see all four algorithms (SHA-1/256/384/512) at once.
- Pick the algorithm strength appropriate to your use case (SHA-256 or higher is generally recommended).
# FAQ
- Does this support MD5?
- No. MD5 has known collision weaknesses and isn't supported by the browser's Web Crypto API, so it's intentionally omitted. Use SHA-256 or higher for integrity checks.
- Can I use this to store passwords?
- No. Password storage needs a dedicated algorithm with salting and stretching, like bcrypt, scrypt, or Argon2. The SHA hashes here are meant for things like file integrity checks.
# Related
# Learn more on our sister sites
- Learn Python
Learn by running it in your browser — prodou.net