SHA-384 (Secure Hash Algorithm 384-bit) is a cryptographic hash function from the SHA-2 family. Uses SHA-512 algorithm with different initial values and truncated output.
| Property | Value |
|---|---|
| Category | Hash Functions |
| Sub-category | SHA-2 Family |
| Variant | 384 |
| Security status | π‘οΈ Secure |
| Complexity | Intermediate |
| Inventor | NIST |
| Year | 2001 |
| Origin | πΊπΈ United States |
| Source | algorithms/hash/sha512.js |
| Parameter | Supported values |
|---|---|
| Output sizes | 48 bytes (384 bits) |
Status: π‘οΈ Secure
No vulnerabilities are recorded for this implementation.
2 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 β NIST Test Vector - Empty String
| Field | Value |
|---|---|
input |
(empty) |
expected |
38b060a751ac96384cd9327eb1b1e36a 21fdb71114be07434c0cc7bf63f6e1da 274edebfe76f65fbd51ad2f14898b95b |
Vector 2 β NIST Test Vector - βabcβ
| Field | Value |
|---|---|
input |
616263 |
expected |
cb00753f45a35e8bb5a03d699ac65007 272c32ab0eded1631a8b605a43ff5bed 8086072ba1e7cc2358baeca134c825a7 |