EN
My tools

SHA-384 Hash Generator

Compute SHA-384 hashes of text, hex or Base64 input as hex, Base64 or a ready-made Subresource Integrity value (sha384-…), one hash per line if you like.

SHA-384
3 bytes hashed
SRI integrity value
sha384-ywB1P0WjXou1oD1pmsZQBycsMqsO3tFjGotgWkP/W+2AhgcroefMI1i67KE0yCWn
for <script integrity="…"> — hash the exact file bytes

SHA-384 is SHA-512 with different starting values, cut to 384 bits. It is the hash most often used for Subresource Integrity and in TLS 1.3 cipher suites.

My tools →
Advertisement

SHA-384 is a member of the SHA-2 family that produces a 384-bit (96-hex-digit) digest. It is the usual choice for Subresource Integrity attributes that protect scripts loaded from CDNs, and it appears in TLS 1.3 and code-signing. This generator hashes text, hex or Base64 input in your browser, shows the hex, Base64 and ready-to-paste sha384-… integrity value, and can compare against an expected hash.

How to use this tool

  1. Type or paste the input and say whether it is text, hex or Base64.
  2. Choose hex or Base64 output.
  3. Copy the hash or the SRI integrity value.
  4. Optionally paste an expected hash to compare, or hash each line separately.

Formula

SHA-384(M) = the first 384 bits of the SHA-512 compression of M, started from eight different 64-bit initial values (FIPS 180-4 §5.3.4).

The message is padded to a multiple of 1,024 bits with a 1 bit, zeros and its 128-bit length. Text is hashed as UTF-8 bytes, so "é" is the two bytes C3 A9.

Example

SHA-384 of abc is cb00753f45a35e8b…a134c825a7, the FIPS 180-4 example. Its Base64 form is ywB1P0WjXou1oD1pmsZQBycsMqsO3tFjGotgWkP/W+2AhgcroefMI1i67KE0yCWn, so a file containing just "abc" would carry integrity="sha384-ywB1P0Wj…".

Frequently asked questions

How do I make an SRI hash for a script?

Hash the exact bytes of the file as served — paste its content as text, or better, use the file hash checker or openssl dgst -sha384 -binary file.js | base64. Then add integrity="sha384-…" and crossorigin="anonymous" to the tag.

Is SHA-384 more secure than SHA-256?

Both are unbroken. SHA-384 has a longer output and, being a truncated hash, resists length-extension attacks that affect plain SHA-256 and SHA-512.

Why does my hash differ from another tool?

Usually the input bytes differ — a trailing newline, Windows line endings, or text versus hex. Hex and Base64 input options let you hash exact bytes.

Sources

Last updated:

Cite or embed this tool
APA

kakaoCalc. (2026, November 8). SHA-384 Hash Generator. https://kakao.mobile/tools/sha-384-hash-tool/

MLA

“SHA-384 Hash Generator.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/sha-384-hash-tool/.

Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms

Advertisement