# SHA-384 Generator

Generate the SHA-384 hash of any text instantly. The tool encodes your input as UTF-8, applies the 384-bit SHA-2 variant from FIPS 180-4 and returns a 96-character hex digest or its Base64 form. Use it to build Subresource Integrity values, check certificate and signature digests, or compare results from scripts and libraries that rely on SHA-384.

## Frequently asked questions

### What is SHA-384?

SHA-384 is a SHA-2 hash defined in FIPS 180-4. It uses the 64-bit SHA-512 compression function with its own initial values and keeps 384 bits of the result. The digest is 48 bytes, or 96 hexadecimal characters.

### How do I create a Subresource Integrity value with SHA-384?

Choose the Base64 output, paste the exact contents of the script or stylesheet and generate the hash. Prefix the result with sha384- and place it in the integrity attribute of the script or link tag. The bytes must match the served file exactly, including the final line break.

### What are the published SHA-384 test vectors?

Empty input gives 38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b. The text abc gives cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed8086072ba1e7cc2358baeca134c825a7. This tool returns exactly these values.

### Is SHA-384 more secure than SHA-256?

SHA-384 has a longer output, giving about 192 bits of collision resistance compared with 128 for SHA-256. Its truncated design also resists length extension attacks, which SHA-256 does not. Both are considered secure today.

### Is SHA-384 slower than SHA-256?

On 64-bit processors SHA-384 is often faster than SHA-256 for long inputs, because it processes 128-byte blocks with 64-bit operations. On 32-bit hardware the opposite is usually true. For short texts the difference is negligible.

### How is the text encoded before hashing?

The input is hashed as UTF-8 bytes exactly as you entered it. Line breaks, spaces and invisible characters all change the result. If your digest does not match another tool, check the line endings and any trailing whitespace first.

### Which output format should I choose?

Hex is the usual format for checksums, logs and command-line tools such as sha384sum. Base64 is shorter and is what Subresource Integrity and many HTTP headers expect. Both represent the same 48 bytes.

### Should I use SHA-384 to hash passwords?

No. General-purpose hashes are too fast for password storage and make offline guessing cheap. Use bcrypt, scrypt or Argon2, which add a salt and a tunable work factor.

### How much text can I hash at once?

Each request accepts up to 5 MiB of text. The hash is computed on the server and the input is neither stored nor logged. For large binary files, use a local command such as openssl dgst -sha384.

### Is SHA-384 the same as SHA-512 truncated to 384 bits?

Not exactly. SHA-384 uses different initial hash values from SHA-512, so cutting a SHA-512 digest to 96 characters does not give the SHA-384 digest. Always compute SHA-384 directly when a system asks for it.

Your ad here?

[Email us](mailto:hi@dennn.is?subject=Advertising%20on%20OneClick%20Pro)

[Ad The agent-ready plugin suite for WordPress.](https://sleekwp.com/?ref=oneclickpro)
