sha384 hash generator online
RecommendedCreate the sha384 hash of any text: 96 hex characters, the same result as PHP's hash(). Check a hash or a file below. Nothing leaves your browser.
Compare, hash a file, copy any format
Type text in the tool above or choose a file. Case, spaces and prefixes like sha384: don't matter.
hello world- Hex
fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd- HEX (upper case)
FDBD8E75A67F29F701A4E040385E2E23986303EA10239211AF907FCBB83578B3E417CB71CE646EFD0819DD8C088DE1BD- Base64
/b2OdaZ/KfcBpOBAOF4uI5hjA+oQI5IRr5B/y7g1eLPkF8txzmRu/QgZ3YwIjeG9- SRI (integrity attribute)
sha384-/b2OdaZ/KfcBpOBAOF4uI5hjA+oQI5IRr5B/y7g1eLPkF8txzmRu/QgZ3YwIjeG9
Files are read in your browser and never uploaded.
What is SHA-384?
SHA-384 is SHA-512 with different start values, cut to 384 bits (96 hex characters). Because the output is cut, it is not open to length-extension attacks. It is the usual choice for Subresource Integrity (SRI) attributes in HTML.
- Subresource Integrity (SRI)
- TLS cipher suites
- Certificates with ECDSA P-384
Change one letter, see what happens
A cryptographic hash changes about half of all bits when one input character changes. Nothing about the old hash tells you what the new one will be.
……Calculating…
The same result in your code
Every snippet prints fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd for hello world, the same as the tool. They are run against PHP's hash() before each release.
echo hash('sha384', 'hello world');
import hashlib print(hashlib.sha384("hello world".encode()).hexdigest())
import { createHash } from "node:crypto"; console.log(createHash("sha384").update("hello world").digest("hex"));
const data = new TextEncoder().encode("hello world"); const buf = await crypto.subtle.digest("SHA-384", data); console.log([...new Uint8Array(buf)].map((b) => b.toString(16).padStart(2, "0")).join(""));
import java.nio.charset.StandardCharsets; import java.security.MessageDigest; import java.util.HexFormat; public class Hash { public static void main(String[] args) throws Exception { byte[] digest = MessageDigest.getInstance("SHA-384") .digest("hello world".getBytes(StandardCharsets.UTF_8)); System.out.println(HexFormat.of().formatHex(digest)); // Java 17+ } }
package main import ( "fmt" "crypto/sha512" ) func main() { fmt.Printf("%x\n", sha512.Sum384([]byte("hello world"))) }
crypto/sha3 is in the standard library since Go 1.24.
printf '%s' 'hello world' | sha384sum # macOS: printf '%s' 'hello world' | shasum -a 384 # File on Windows: certutil -hashfile file.zip SHA384
SHA-384 test values
Hashes of common test strings (UTF-8, no line break). Use them to check your own implementation.
| Input | sha384 |
|---|---|
| empty string | 38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b |
abc | cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed8086072ba1e7cc2358baeca134c825a7 |
hello world | fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd |
The quick brown fox jumps over the lazy dog | ca737f1014a48f4c0b6dd43cb177b0afd9e5169367544c494011e3317dbf9a509cb1e5dc1e85a941bbee3d7f2afbc9b1 |
Why your SHA-384 doesn't match
A fast hash lets attackers try billions of guesses per second. Store passwords with Argon2id, bcrypt or scrypt, which are slow on purpose and use a salt.
echo "hello world" | sha256sum hashes 12 bytes: the text plus a line break. Use printf '%s' 'hello world' or echo -n to hash exactly 11 bytes.
The tool hashes UTF-8 bytes, like most languages. Windows APIs and .NET's Encoding.Unicode use UTF-16, older systems Latin-1. "ü" is 2 bytes in UTF-8, 1 in Latin-1, 2 in UTF-16, and each gives a different hash.
Hex is not case-sensitive: 5EB63BBB… and 5eb63bbb… are the same hash. Compare in one case, and watch for spaces or a prefix like "sha256:".
Like the form on the original site, the tool removes spaces and line breaks at the start and end and sends line breaks as CRLF (\r\n). For exact bytes use "Hash a file" or "Exactly as typed" in the check panel.
The SHA-2 family side by side
The same text, every SHA-2 algorithm. Shown for hello world; type in the tool above to use your text.
| Algorithm | Hash | Bits |
|---|---|---|
| sha224 | 2f05477fc24bb4faefd86517156dafdecec45b8ad3cf2522a563582b | 224 |
| sha256 | b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9 | 256 |
| sha384 | fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd | 384 |
| sha512/224 | 22e0d52336f64a998085078b05a6e37b26f8120f43bf4db4c43a64ee | 224 |
| sha512/256 | 0ac561fac838104e3f2e4ad107b4bee3e938bf15f2b15f009ccccd61a913f017 | 256 |
| sha512 | 309ecc489c12d6eb4cc40f50c902f2b4d0ed77ee511a7c7a9bcd3ca86d4cd86f989dd35bc5ff499670da34255b45b0cfd830e81f605dcf7dc5542e93ae9cd76f | 512 |
How fast is SHA-384?
Hashes up to 4 MB of random data in your browser and compares with sha256, xxh3. Browser numbers are lower than native code, but the ranking holds.
Questions about SHA-384
Can SHA-384 be decrypted?
No. SHA-384 is a one-way function: there is no key and no way to compute the input from the hash. Sites that "decrypt" SHA-384 look the hash up in large tables of known inputs, which only works for short or common strings.
How long is a SHA-384 hash?
A SHA-384 hash is always 384 bits, written as 96 hexadecimal characters (48 bytes), no matter how long the input is.
Is SHA-384 secure?
Yes. No practical attack on SHA-384 is known, and it is approved for integrity checks and signatures. For passwords use a slow password hash instead.
Should I hash passwords with SHA-384?
No. SHA-384 is fast, so attackers can test huge numbers of guesses. Use Argon2id, bcrypt or scrypt with a unique salt per password.