Hash Generator

Generate cryptographic hashes using SHA-1, SHA-256, SHA-384, and SHA-512 — entirely in your browser.

Algorithm

Hash algorithm comparison

AlgorithmOutput sizeStatusCommon use
SHA-1160 bits (40 hex chars)⚠️ DeprecatedLegacy systems, Git object IDs
SHA-256256 bits (64 hex chars)✅ RecommendedTLS, JWT signatures, checksums
SHA-384384 bits (96 hex chars)✅ SecureHigh-security applications
SHA-512512 bits (128 hex chars)✅ SecurePassword 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.