AnyHash
Skip to content

SHA-384 Hash Generator

Compute a 384-bit SHA-384 digest of any text or file instantly via your browser's native crypto. Your input never leaves your device.

Or drop a file to hash its full contents

Drag & drop · up to 64 MB

SHA-384 hash

 

Type or paste input to see its hash instantly.

Code snippets

Generate SHA-384 in your language

import { createHash } from "node:crypto";

console.log(createHash("sha384").update("hello world").digest("hex"));

SHA-384 is built into every language's standard library — no third-party packages are needed. The hex digest is always 96 lowercase characters.

What SHA-384 is

SHA-384 is a member of the SHA-2 family standardized in FIPS 180-2. It uses the SHA-512 compression function — 1024-bit blocks processed with 64-bit words — but a different initial value and a 384-bit final output, giving a 48-byte / 96-hex digest.

Because the Web Crypto API powers this page, SHA-384 hashing is hardware-accelerated and completely local — even a large file digests in a fraction of a second.

What to use it for

  • TLS certificate signatures and firmware signing chains
  • Key establishment / HKDF contexts that mandate SHA-384
  • Integrity verification where a 48-byte digest is expected
  • Compatibility with tools that emit sha384sum digests

Storing passwords? SHA-384 is far too fast. Use bcrypt or Argon2id instead.

Algorithm guide

SHA-384 explained

What is SHA-384?

SHA-384 is a 384-bit cryptographic hash function defined in NIST FIPS 180-2 (2001). It produces a fixed 384-bit digest — forty-eight bytes, written as ninety-six hexadecimal characters — and is the middle child of the SHA-512 branch of the SHA-2 family.

Structurally, SHA-384 is SHA-512 with two adjustments: a different set of initial chaining values, and a final truncation from 512 to 384 bits. Everything else — the 1024-bit block size, the 80 rounds, the 64-bit word arithmetic — is identical. That means SHA-384 inherits SHA-512's speed on 64-bit platforms: wider words let the compression function process more data per operation than SHA-256's 32-bit words.

SHA-384 vs SHA-512

SHA-384SHA-512
Digest length384 bits (48 bytes / 96 hex)512 bits (64 bytes / 128 hex)
Block size1024 bits1024 bits
Rounds8080
Collision resistance192-bit (birthday bound)256-bit (birthday bound)
ThroughputIdentical to SHA-512Fastest SHA-2 on 64-bit
Web Crypto native?YesYes

On modern 64-bit CPUs SHA-384 and SHA-512 both run faster than SHA-256 for large inputs. The practical choice between them is usually protocol-driven: TLS signatures and many firmware stacks name SHA-384 explicitly, while SHA-512's full 128-hex output is only worth keeping when a standards document asks for it.

Security level

SHA-384 offers 192-bit collision resistance — far beyond any physical attack today. It was the first SHA-2 variant to add a truncation that protects against length-extension attacks: because the final 128 bits (which would carry the extension data) are never emitted, a hash-then-MAC construction built on SHA-384 gains some resistance to the classic Merkle–Damgård length-extension trick, whereas plain SHA-512 does not.

Where SHA-384 is used

  • Signatures and TLS. A large share of active TLS certificate chains sign with SHA-384, and firmware-update signing stacks commonly mandate it.
  • Utilities. sha384sum, Windows PowerShell Get-FileHash -Algorithm SHA384, and many integrity checkers emit it natively.
  • KDFs. HKDF and several FIPS-approved KDF constructions support SHA-384 parameters for 192-bit key-pair compatibility.

How this tool works

SHA-384 is one of the four algorithms exposed by the Web Crypto API, so this page needs no JavaScript hashing loop at all. crypto.subtle.digest("SHA-384", data) runs in the browser's native cryptographic code — hardware-accelerated on most devices — and the result is rendered instantly, with input still processed only on your own machine.

Worked examples you can verify right now

InputSHA-384 digest
(empty string)38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b
hello worldfdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd
The quick brown fox jumps over the lazy dogca737f1014a48f4c0b6dd43cb177b0afd9e5169367544c494011e3317dbf9a509cb1e5dc1e85a941bbee3d7f2afbc9b1

Paste any of these strings into the tool above — matching the UTF-8 bytes exactly, including the period in the fox sentence — and you will get precisely these 96-character digests.

Frequently asked questions

What is the difference between SHA-384 and SHA-512?

SHA-384 is SHA-512 truncated to 384 bits (48 bytes) with a different initial chaining value. It runs the SHA-512 compression function with 64-bit words, so it has SHA-512's speed and internal strength — just a shorter output.

Why would I pick SHA-384 over SHA-256?

On 64-bit hardware SHA-384 is often faster than SHA-256 because it processes 64-bit words natively, and it is already built into TLS certificate chains. Use it when a protocol or signing stack calls for it; SHA-256 remains the simpler default.

Why does SHA-384 need two 64-bit fast paths?

Every SHA-384 digest you see here is produced by your browser's native crypto.subtle implementation, which is hardware-accelerated — no JavaScript loop is involved, so large files hash in milliseconds on modern CPUs.

Other hash tools