SHA hash generator
Compute the SHA-256, SHA-384 or SHA-512 hash of text as hexadecimal digits.
Your result
Your result will appear here.
About SHA hash generator
Use this to get a fingerprint of a piece of text. It shows whether a configuration snippet, a license key or a message matches a published hash exactly: change a single character and the result changes completely. Algorithm sets which member of the SHA-2 family is used. SHA-256 gives 64 hexadecimal characters, SHA-384 gives 96 and SHA-512 gives 128. Choose the one the published value was made with, because their results are unrelated.
How it works
StillKit encodes your text as UTF-8 bytes and passes them to the hash function you chose in the browser's Web Crypto interface. The digest is 32 bytes for SHA-256, 48 for SHA-384 and 64 for SHA-512, and each byte is shown as 2 lowercase hexadecimal characters. Nothing else is mixed in: no key, no salt and no added line break, so the same text gives the same result on any device.
Tips
- Every byte counts, including spaces and a final line break. If your result differs from a published value, check for a missing or extra newline first.
- The box turns CRLF line breaks into LF, so text from a file with CRLF endings hashes differently from the file itself. Use File checksum for files.
- An empty box gives a fixed value, which for SHA-256 starts e3b0c442. If you see it, the text was missing when you ran the tool.
- Compare without regard to capitals: some lists print hashes in uppercase, while StillKit prints lowercase.
- The text abc starts ba7816bf with SHA-256, cb00753f with SHA-384 and ddaf35a1 with SHA-512, the published test results, which is a quick way to confirm the setup.
Limits
Maximum 1 MB of text, hashed as UTF-8 bytes. A hash is not encryption and is not suitable alone for password storage.
How tools run on your device →Questions and answers
Which algorithm should I choose?
The one the value you are comparing with was made with. Its length is a clue: 64 hexadecimal characters for SHA-256, 96 for SHA-384 and 128 for SHA-512. All 3 belong to the SHA-2 family defined in FIPS 180-4, and the page opens on SHA-256.
Can a SHA hash be turned back into the text?
Not directly; the functions are designed to work in one direction only. Short or common texts can still be found by guessing and comparing hashes, which is why a plain hash is a weak way to store passwords. PBKDF2 key derivation is made for that job.
Why does the command line give a different hash for the same word?
The echo command adds a line break, so it hashes abc plus a newline. Use echo -n or printf to hash the word alone; abc by itself starts ba7816bf with SHA-256 here.
Why does a hash on a web page look different from mine?
It may be written in Base64 rather than hexadecimal. Subresource Integrity values, for example, look like sha384- followed by letters, digits, + and /, so they do not match this result character for character.