SecurityTool 04
Hash Generator
Produce a cryptographic digest of a piece of text. Useful for checksums, cache keys and verifying that two strings match.
Generate hash
24 / 232Result
WaitingRun the tool and the result appears here. Copy it or download it — nothing leaves this tab.
Privacy
Everything you type stays in this tab and is processed by JavaScript on your device. Nothing is uploaded, logged or stored on a server.
How to use it
Enter the text you want to hash and choose an algorithm.
The hex digest appears as you type, computed with Web Crypto.
Copy the digest to compare it with a known checksum.
When to use it
Checksums
Confirm a downloaded text payload matches a published hash.
Cache keys
Derive a short stable key from a long input string.
Data matching
Compare two strings without storing either in plain text.
Questions
Can a hash be reversed?
No. Hashing is one-way. You can only compare a hash of a guessed input.
Is SHA-1 still safe?
Not for signatures or password storage. Use SHA-256 or stronger for security-sensitive work.
Does this hash files?
No, text only. File hashing would need to read the file into memory in this version.
Which algorithms does it support for a text hash?
MD5, SHA-1, SHA-256 and SHA-512, computed with the browser's Web Crypto API. Pick the one your system expects; SHA-256 is the sensible default for checksums and cache keys today.
Can I use the digest to compare two strings?
Yes, and it is the safer way to compare when both sides are under your control. Hashing both inputs and comparing the two digests avoids timing leaks and keeps the original text out of logs, so cache keys and deduplication rely on them.