RandomKeygen

Local-only · Web Crypto API + Pure-TS MD5

Hash Generator

Compute SHA-256, SHA-384, SHA-512, SHA-1, and MD5 digests for text or local files simultaneously — plus instant checksum verification. Zero uploads; everything stays on this device.

Hash Generator

Try sample:
Ready · 0 bytes · UTF-8Click any digest row to copy

Instant Checksum Verifier

Paste expected hash

Compares automatically against all 5 computed digests above whenever input or file changes.

Algorithms computed5 digestsSHA-256, SHA-384, SHA-512, SHA-1, MD5
PrivacyZero uploadsText & local files hashed in browser memory
VerificationAuto-matchDetects matching algorithm across all 5 rows

Which hash algorithm to use

Use SHA-256 or SHA-512 for integrity checks. Never use bare fast hashes for passwords.

MD5Broken128-bit · legacy only
SHA-1Legacy160-bit · deprecated
SHA-256Standard256-bit · recommended
SHA-512Maximum512-bit · high margin
Hashing ≠ Encryption

Cryptographic hashes are one-way digests — you cannot decrypt or recover the original text or file from the hash. The same byte sequence always produces the exact same digest.

Never store passwords with bare SHA/MD5

SHA-256 and MD5 are engineered to run billions of times per second on GPUs. For user passwords, always use a slow, salted password KDF like bcrypt or Argon2id.

Good fits: software download checksums (SHA-256 / SHA-512) · content-addressable storage & cache keys · HMAC message authentication (HMAC key generator). CNSA 2.0 / Post-Quantum: SHA-384 and SHA-512 are approved under the NSA's CNSA 2.0 post-quantum suite — you do not need to migrate away from SHA-2 for quantum safety.

Hash in terminal & code

Run the same digest calculation locally from your shell, Node.js, Python, or browser.

# Hash text (no trailing newline)
printf '%s' 'Hello World' | shasum -a 256
printf '%s' 'Hello World' | shasum -a 512
printf '%s' 'Hello World' | md5sum          # macOS: md5

# Hash a local file & verify checksum
sha256sum archive.tar.gz                     # macOS: shasum -a 256 archive.tar.gz
sha256sum -c checksums.txt