</>DevToolsHub
Security

Hash Generator

Processed on your device

Calculate SHA-256, SHA-384, or SHA-512.

Hash Generator
Ready. Use the example or paste your own input.

How to use Hash Generator

Paste text and choose a SHA algorithm to calculate its hexadecimal digest from UTF-8 bytes.

Good to know

Hashes are one-way digests, not encryption. Raw SHA hashes are not suitable for password storage. A single changed character produces a different digest.

Check a known SHA-256 digest

Choose SHA-256 to try this example.

Input

abc

Expected result

ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad

Common questions and mistakes

Why do two similar texts produce different hashes?

The input is converted into UTF-8 bytes. A trailing newline, an extra space, or a visually identical character with different Unicode encoding changes those bytes and therefore the digest. Compare exact input bytes when reproducing a hash.

Can a hash protect a password or prove who sent a message?

Raw SHA is not a password-storage scheme. A plain digest also does not authenticate a sender: someone who changes the message can calculate a new digest. Password storage and message authentication require purpose-built approaches. This tool calculates unkeyed text digests only.

Related tools