Hash Generator
Generate MD5, SHA1, SHA256 hashes
How to use
- Enter text or file
- Select hash algorithm
- Copy the generated hash
Use cases
- Password hashing
- Data integrity
- Security applications
- File verification
About the Hash Generator
A cryptographic hash function maps arbitrary input to a fixed-length fingerprint. Hashes are deterministic (same input → same hash) and one-way (you can't invert them). They're the foundation of digital signatures, file integrity verification, password storage, and content-addressable systems like Git. This tool exposes the four most common hashes — MD5, SHA-1, SHA-256, SHA-512 — with a real, RFC-compliant MD5 implementation (not the fake hash some online tools ship).
Features
- Real MD5 (RFC 1321), SHA-1, SHA-256, SHA-512
- Uses Web Crypto for SHA family — FIPS-grade primitives
- Live hashing as you type with 100 ms debounce
- Copy output in one click
- Fully client-side — your input never leaves the browser
How it works
- Paste the text you want to hash.
- Pick an algorithm from MD5, SHA-1, SHA-256, or SHA-512.
- The hex digest appears instantly.
- Copy it or switch algorithms to compare.
Frequently asked questions
Is MD5 safe for passwords?
+
No. MD5 has been cryptographically broken since 2004 — use bcrypt, scrypt, or Argon2 for passwords. MD5 is fine for non-security checksums (file integrity, caching keys).
What's the difference between SHA-1 and SHA-256?
+
SHA-1 produces a 160-bit digest and is also considered broken for collision resistance. SHA-256 produces 256 bits and is the current safe default for general hashing.
Is my text sent to a server?
+
No. Hashing runs in your browser using the Web Crypto API for SHA variants and a local RFC 1321 implementation for MD5.
Why does my hash differ from a CLI tool's output?
+
Usually a newline difference — some CLIs add a trailing newline. Also check character encoding; this tool hashes UTF-8 bytes.
Can I hash files?
+
This version supports text input. File hashing is on the roadmap and will arrive in a later update.