What it does
A hash function maps arbitrary input to a fixed-size digest. It is one-way and deterministic: the same input always produces the same output, and the output does not reveal the input. This tool computes common digests in your browser for checksums, identifiers and debugging.
How it works
SHA-256 produces 32 bytes, SHA-512 produces 64. The digest is usually shown as hex or Base64. Hex is easier to compare visually; Base64 is more compact but case-sensitive.
A hash is not encryption. There is no key and no way to reverse it. Anyone can compute the hash of a guessed input, which is why unsalted password hashes are crackable with precomputed tables.
SHA-1 is broken for collision resistance and should not be used for signatures or certificates. It still appears in legacy checksums and Git object names, where collision resistance is not the security goal.
For passwords, use a slow, memory-hard KDF such as Argon2id, scrypt or bcrypt, with a per-user salt. SHA-256 alone is far too fast; an attacker can test billions of guesses per second.
For file integrity, publish the digest over a trusted channel. A checksum served from the same compromised host proves nothing. If you need authentication, use an HMAC with a secret key.
When to use it
- Compare two strings without revealing them in a report.
- Generate a stable identifier from content.
- Verify a downloaded file against a published checksum.
- Reproduce a digest from a build or API example.
Glossary
- Digest
- The fixed-size output of a hash function.
- Collision
- Two different inputs producing the same digest.
- Salt
- Random data added to a password before hashing to defeat precomputation.
- HMAC
- A keyed hash used for authentication, not just integrity.
- KDF
- Key derivation function, deliberately slow for password storage.
Frequently asked questions
Can I decrypt a hash?+
No. You can only guess inputs and compare. That is why password hashing needs a slow KDF and a salt.
Is SHA-1 still safe?+
Not for signatures or certificates. Chosen-prefix collisions are practical. Use SHA-256 or better for anything security-relevant.
Why do two tools show different hashes?+
Input encoding differs: a trailing newline, UTF-8 versus UTF-16, or hex versus Base64 output. Compare the exact bytes and representation.
Should I hash passwords with SHA-256?+
No. Use Argon2id, scrypt or bcrypt with a unique salt and appropriate cost parameters.
Is hashing done on a server?+
No. The browser's Web Crypto API computes the digest locally. Nothing is uploaded.
API & MCP
No API endpoint
This tool runs entirely in your browser. It is not available over the REST API or MCP.
Shareable result
https://100www.dev/tools/hash-generator?v=hello%20world

100www engineering
EditorialReviewed by Steve · · Report an error
Tested from the 100www probe network; results vary by location and network.


