About the SHA-384 Hash Generator
What is a SHA-384 hash?
SHA-384 is a SHA-2 family hash that produces a 384-bit fingerprint, written as 96 hexadecimal characters. Internally it is a truncated form of SHA-512, so it enjoys SHA-512's strong security margin while emitting a shorter digest.
SHA-384 appears in high-assurance settings: it is one of the hashes approved for TLS 1.2 and 1.3 cipher suites and is common in government and financial systems that want a larger security margin than SHA-256. This tool computes it with the browser's native Web Crypto API, entirely on your device.
How to Use This Tool
- Enter your input. Type or paste text on the Text tab, or switch to the File tab and drop in a file. The SHA-384 hash appears instantly.
- Choose the output. Switch between hexadecimal and Base64, and pick upper or lowercase hex.
- Verify a checksum. Paste a hash you were given into the compare box and the tool tells you instantly whether it matches.
- Copy the result. One click copies the SHA-384 hash to your clipboard.
Common Use Cases
- TLS and cipher suites: SHA-384 is used in several modern TLS cipher suites for message authentication.
- High-security integrity checks: when a larger digest and security margin than SHA-256 is desired.
- Government and finance: systems following Suite B or similar guidance often specify SHA-384.
- HMAC-SHA384 signatures: keyed authentication where a 384-bit tag is required; enable HMAC mode and add the key.
Frequently Asked Questions
What is the difference between SHA-384 and SHA-512?
SHA-384 runs the SHA-512 algorithm with a different initial value and truncates the result to 384 bits. This truncation actually provides some resistance to length-extension attacks that plain SHA-512 does not have, which is one reason SHA-384 is sometimes preferred.
How long is a SHA-384 hash?
SHA-384 is 384 bits, written as 96 hexadecimal characters or 64 characters in Base64. The length is fixed for any input.
Is SHA-384 more secure than SHA-256?
It offers a larger security margin and resists length-extension attacks, so in that narrow sense yes, but SHA-256 is already considered secure for the foreseeable future. Choose SHA-384 when a specification asks for it or when you want extra headroom.
What is HMAC-SHA384?
HMAC-SHA384 combines SHA-384 with a secret key to create a keyed authentication tag. Enable HMAC mode above and enter your key to generate one.
Can SHA-384 be decrypted?
No. It is a one-way hash, so the original input cannot be recovered from the digest by any means faster than guessing.
Can I hash a file with SHA-384?
Yes. The File tab hashes any file locally in your browser and matches the value a command-line tool would produce.