Free with a MASK account
Hash Generator
Compute a SHA-256, SHA-384 or SHA-512 digest of any text.
Runs entirely in your browser — what you enter is never sent to MASK. Your account records that you used this tool, and nothing else about it.
Hashing happens on this page, in your browser, using the Web Crypto API. The text never reaches a server — MASK records only that you used this tool, never what you hashed or how long it was.
Questions
- Why is there no MD5 or SHA-1 option?
- Because neither is fit for the job people usually come to a hash generator for. Collisions can be produced for both — two different inputs that hash to the same value — so a match no longer proves the content is the same. Offering them beside a warning mostly produces ignored warnings, so this tool offers SHA-2 only.
- Does the text I paste leave my browser?
- No. The digest is computed by your browser's own Web Crypto API on this page, and the text is never sent to MASK — there is no field in anything this page sends that could carry it, not even its length. It does talk to MASK for two things, neither of which is your text: to check whether you are signed in, and to record on your account that you used this tool. That second record is the tool's name and nothing else — not even how long the input was.
- Can I turn a hash back into the original text?
- No. Hashing is one-way, which is what makes it useful for fingerprinting and integrity checks, and why it is not encryption. Anyone who says they can reverse a SHA-2 hash is either guessing common inputs or has the original text already.
- Which one should I use?
- SHA-256 unless something you are working with asks for otherwise — it is the default nearly everywhere. SHA-384 and SHA-512 produce longer digests and are usually chosen because a specification or another system requires that exact length.
- Can I hash a file with this?
- Not here — this tool hashes text you type or paste. A file checksum has to read the file's raw bytes, and the digest of a file rarely matches the digest of its text contents because of line endings and encoding.