Generate a 384-bit SHA-384 hash from any text — instant, free, and computed locally in your browser.
What is SHA-384?
SHA-384 is a member of the SHA-2 family: essentially SHA-512 computed with different initial
values and then truncated to 384 bits. The digest is 96 hexadecimal characters long. The extra
length gives a larger security margin than SHA-256, and the truncation makes length-extension
attacks impractical.
Example: the SHA-384 hash of hello is
59e1748777448c69de6b800d7a33bbfb9ff1b463e44354c3553bcdb9c666fa90125a3c79f90397bdf5f6a13de828684f —
the tool above is pre-filled so you can see it live.
Is SHA-384 secure?
Yes. SHA-384 shares SHA-512's strong design and offers 192 bits of collision resistance —
comfortably beyond any known attack. It is approved for government and regulated use and commonly
appears alongside the P-384 elliptic curve in TLS certificates and cipher suites.
Common uses of SHA-384
- High-assurance TLS: ECDSA P-384 certificates are typically signed with SHA-384.
- Compliance: some standards (such as the CNSA suite) require SHA-384 for protecting classified data.
- Subresource Integrity: browsers accept sha384 hashes in script and stylesheet integrity attributes.
Other hash generators
Need a different digest? Pick another algorithm — each has its own page:
Or go back to the Hash Generator homepage to see all five hashes at once.
Why does my hash not match another tool?
Hashes are computed over bytes, not characters, so two inputs that look identical can still produce different digests. The three usual causes:
- A trailing newline. The shell command
echo "secret" hashes "secret" plus a line break, while printf %s "secret" (or echo -n) hashes just the word. Text copied out of a terminal often carries that invisible newline.
- Character encoding. This tool encodes your input as UTF-8 before hashing. "café" is 5 bytes in UTF-8 but 4 bytes in Latin-1, so a tool using a different encoding returns a different digest for the same word. Make sure both sides use UTF-8.
- Stray whitespace. Leading or trailing spaces from copy-paste change the input — and therefore the hash. This tool hashes exactly what sits in the box, byte for byte.
Digest sizes at a glance
Every algorithm has a fixed output length, so a quick character count tells you whether a pasted hash is complete or truncated:
| Algorithm | Bits | Hex characters |
| MD5 | 128 | 32 |
| SHA-1 | 160 | 40 |
| SHA-256 | 256 | 64 |
| SHA-384 | 384 | 96 |
| SHA-512 | 512 | 128 |
Letter case is only display formatting: toggling Uppercase hex does not change the underlying value, and two digests that differ only by case are the same hash.
Frequently asked questions
How many characters is a SHA-384 hash?
A SHA-384 hash is always 96 hexadecimal characters, representing 384 bits, regardless of input size.
Why does SHA-384 exist if there is SHA-512?
SHA-384 is SHA-512 with different initial values, truncated to 384 bits. The truncation hides part of the internal state, which blocks length-extension attacks, and the 384-bit size matches the security level of the P-384 elliptic curve used in high-assurance TLS.
When should I choose SHA-384 over SHA-256?
When a compliance regime asks for it, when pairing with P-384 certificates, or when you simply want a bigger security margin at little performance cost on 64-bit systems. Otherwise SHA-256 is the standard default.