NathanTools

SHA-384 Hash Generator

Type or paste text, or drop a file, to get its 96-character SHA-384 hash. Everything is calculated in your browser.

100% free No sign-up Works on any device

Report a bug

SHA-384 Hash Generator

Text to hash

Hashes

SHA-384 —
MD5 —
SHA-1 —
SHA-256 —
SHA-512 —

Updated November 2026 · Calculated in your browser

How to generate a SHA-384 hash

  1. Type or paste text into the box, or switch to File and drop any file up to 512 MB.
  2. The SHA-384 hash (highlighted) and the four other common hashes appear as you type.
  3. Pick hex or Base64 output, and turn on HMAC if you need a keyed signature.
  4. Press Copy, or paste a published checksum into Compare to check a download.

SHA-384 at a glance

Digest size384 bits (96 hex characters)
Published2001 (SHA-2 family, FIPS 180-2)
Designed byNSA
SecuritySecure: no practical attacks are known
Common usesTLS cipher suites, government and high-assurance systems

SHA-384 is SHA-512 run with different starting values and cut down to 384 bits. Because part of the internal state is dropped, it resists the length-extension attacks that affect MD5, SHA-1, SHA-256 and SHA-512 when they are misused as a MAC. The NSA's CNSA suite for protecting classified information calls for SHA-384 or larger, so you meet it in government systems and high-security TLS configurations.

SHA-384 examples

The SHA-384 of The quick brown fox jumps over the lazy dog is:

ca737f1014a48f4c0b6dd43cb177b0afd9e5169367544c494011e3317dbf9a509cb1e5dc1e85a941bbee3d7f2afbc9b1

The SHA-384 of an empty input (zero bytes) is:

38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b

If you ever see the second value, the program hashed nothing, usually because a file path was wrong or a variable was empty. Change a single character of the input and the whole hash changes, which is what makes hashes good at detecting modified files.

Why your SHA-384 hash doesn't match

A hash is calculated from bytes, not from what you see on screen. Two inputs that look identical can produce different hashes:

  • A trailing newline. echo "abc" | sha384sum hashes abc plus a line break. Use echo -n or printf.
  • Line endings. Windows saves text with CRLF, macOS and Linux with LF, so the same text file hashes differently.
  • Text encoding. This tool hashes text as UTF-8, the web standard. PowerShell strings and some Windows APIs use UTF-16.
  • Hex or Base64 input. If your input is already bytes written as hex or Base64 (for example a key), set Input is to match.
  • Letter case doesn't matter. CA737F10… and ca737f10… are the same hash.

Check a file's SHA-384 checksum on your computer

The File tab works for most files. To check very large files, or to script it, use the built-in command on your system:

SystemCommand
Windows (PowerShell)Get-FileHash file.zip -Algorithm SHA384
Windows (Command Prompt)certutil -hashfile file.zip SHA384
macOSshasum -a 384 file.zip
Linuxsha384sum file.zip
Any (OpenSSL)openssl dgst -sha384 file.zip
Text, macOS/Linuxprintf '%s' 'your text' | sha384sum

Generate SHA-384 in code

LanguageCode (UTF-8 text → hex)
Pythonhashlib.sha384("text".encode()).hexdigest()
Node.jscrypto.createHash("sha384").update("text").digest("hex")
PHPhash("sha384", "text")
C# (.NET 5+)Convert.ToHexString(SHA384.HashData(Encoding.UTF8.GetBytes("text")))
JavaMessageDigest.getInstance("SHA-384").digest(text.getBytes(UTF_8))

For an HMAC, use hmac.new(key, msg, hashlib.sha384) in Python or crypto.createHmac("sha384", key) in Node.js.

HMAC-SHA-384: hashing with a secret key

A plain hash proves a file hasn't changed, but anyone can recompute it. An HMAC (hash-based message authentication code, RFC 2104) also mixes in a secret key, so only someone who holds the key can produce the right value. Webhooks from payment and messaging services, signed API requests and JSON Web Tokens (HS256) all work this way. Turn on HMAC with a secret key, enter the key, and compare the result with the signature you received.

MD5 vs SHA-1 vs SHA-256 vs SHA-384 vs SHA-512

AlgorithmOutputHex lengthCollision-resistant?Use it for
MD5128 bits32No (broken 2004)Non-security checksums
SHA-1160 bits40No (broken 2017)Legacy compatibility only
SHA-256256 bits64YesThe default for integrity and signatures
SHA-384384 bits96YesHigh-assurance and government systems
SHA-512512 bits128YesLarge files on 64-bit systems

Passwords are different. All five are built to be fast, which helps attackers guess billions of passwords a second. Store passwords with Argon2id, bcrypt or scrypt, and use our password generator to create them.

Frequently asked questions

SHA-384 produces a 384-bit digest, written as 96 hexadecimal characters or 64 Base64 characters. The length is the same whether you hash one letter or a 4 GB file.

No. A hash is a one-way function, not encryption, so there is no key to decrypt it. "SHA-384 decrypt" sites only look up hashes of words and passwords they have already computed, which is why short or common inputs can be found.

Yes. Secure: no practical attacks are known. It's suitable for integrity checks, HMAC and digital signatures.

The input bytes differ. The usual causes are a trailing newline (echo adds one; use echo -n or printf), Windows line endings (CRLF) instead of Unix (LF), a space at the end, or text encoded as UTF-16 instead of UTF-8. Hex case doesn't matter: ABC and abc are the same hash.

HMAC mixes a secret key into the hash, so only someone with the key can produce the same value. APIs such as payment webhooks use HMAC-SHA256 to sign requests. Turn on "HMAC with a secret key" above to calculate one.

No. General-purpose hashes like MD5 and SHA-2 are designed to be fast, which makes guessing passwords fast too. Store passwords with a slow, salted password hash such as Argon2id, bcrypt or scrypt.

No. Hashes are calculated in your browser with the Web Crypto API (and a built-in MD5 implementation), so your text, files and keys never leave your device.

Comments

No comments yet.

Share this tool

SHA-384 Hash Generator

Favorites

Drag to reorder, or use the arrows. Categories and the tools inside them can both be moved.

Saved in this browser. Sign in to keep them on every device.

Esc
↑ ↓ to moveEnter to open