Skip to the content

SHA-384 Hash Generator

Get the SHA-384 of a text or a file in your browser, as hex or as the Base64 that a Subresource Integrity attribute asks for.

0 bytes as UTF-8

Result

SHA-384

–

Share this tool:TwitterFacebookLinkedInWhatsAppEmail

SHA-384 in short

SHA-384 produces 384 bits, written as 96 hexadecimal characters. It is SHA-512 run with different starting values and cut off after 384 bits, so it takes exactly as long to compute as SHA-512.

Length384 bits (48 bytes)
Written as hex96 characters
Written as Base6464 characters
Of nothing at all (the empty text)38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b
Of the word hello59e1748777448c69de6b800d7a33bbfb9ff1b463e44354c3553bcdb9c666fa90125a3c79f90397bdf5f6a13de828684f

Where it is used

Subresource Integrity. A script or link tag can carry the hash of the file it loads, and the browser refuses the file when it doesn't match. SHA-384 is the customary choice. Hash the file on this page, switch the output to Base64 and put sha384- in front:

<script src="https://cdn.example.com/library.js" integrity="sha384-…" crossorigin="anonymous"></script>

TLS. The name of a cipher suite such as TLS_AES_256_GCM_SHA384 ends with the hash it uses.

Compared with SHA-256

Both are considered secure, and the extra length is not what sets them apart in practice. This is: because part of the internal state is thrown away, SHA-384 is not open to length extension. That is the trick by which someone who knows the hash of a secret followed by a message can work out the hash of a longer message without knowing the secret. SHA-256 and SHA-512 both allow it. The proper way to combine a key with any of them is HMAC, which the HMAC tab does.

The hash generator shows MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC-32 of the same input next to each other.

See all 12