security
Hash Generator
Create SHA-1, SHA-256, and SHA-512 hashes from any text using the Web Crypto API. Local and private.
What a cryptographic hash is for
A hash function maps input to a fixed-length digest. The same input always produces the same digest, but you cannot practically reverse a digest back to the original text. Hashes are used for checksums, integrity checks, and content addressing—not for storing recoverable passwords without a proper password-hashing scheme.
Steps
- Enter the text you want to hash.
- Choose SHA-1, SHA-256, or SHA-512.
- Copy the hexadecimal digest for comparison or documentation.
- Compare digests from two sources to confirm the content matches.
Tips
- Prefer SHA-256 or SHA-512 for new designs; SHA-1 is legacy and weaker.
- For user passwords, use dedicated algorithms such as Argon2, bcrypt, or scrypt with salting.
- Changing even one character produces a completely different digest.
Frequently asked questions
Can I reverse a hash?
No. Cryptographic hashes are one-way. This tool is for checksums and verification, not decryption.
Which algorithms are available?
SHA-1, SHA-256, and SHA-512 via the browser Web Crypto API. Prefer SHA-256 or stronger for new work.
Is hashing the same as encryption?
No. Encryption is designed to be reversible with a key. Hashing is designed to be one-way.