Hash Generator
Generate cryptographic hashes using SHA-1, SHA-256, SHA-384, and SHA-512 — entirely in your browser.
Hash algorithm comparison
| Algorithm | Output size | Status | Common use |
|---|---|---|---|
SHA-1 | 160 bits (40 hex chars) | ⚠️ Deprecated | Legacy systems, Git object IDs |
SHA-256 | 256 bits (64 hex chars) | ✅ Recommended | TLS, JWT signatures, checksums |
SHA-384 | 384 bits (96 hex chars) | ✅ Secure | High-security applications |
SHA-512 | 512 bits (128 hex chars) | ✅ Secure | Password hashing (with salt), digital signatures |
Frequently Asked Questions
What is a cryptographic hash?
A hash function takes input data of any size and produces a fixed-size output (the hash or digest). The same input always produces the same output, but it's computationally infeasible to reverse the process or find two inputs that produce the same hash.
Is SHA-256 safe for passwords?
Plain SHA-256 is not recommended for storing passwords — it's too fast. Use purpose-built algorithms like bcrypt, scrypt, or Argon2 which are intentionally slow and support salting.
Does this tool use MD5?
MD5 is not available via the browser's Web Crypto API because it is cryptographically broken. If you need MD5 for legacy compatibility (e.g. checking file checksums), use the backend API which supports MD5.
Is my data sent to a server?
No. This tool uses the browser's built-in crypto.subtle.digest() API. Your input never leaves your device.