Hawkynt

SHA-384

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.

Properties

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

Parameters

Parameter Supported values
Output sizes 48 bytes (384 bits)

Security

Status: πŸ›‘οΈ Secure

No vulnerabilities are recorded for this implementation.

Documentation

References

Test vectors

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

← All algorithms