Hawkynt

SHA-512

SHA-512 (Secure Hash Algorithm 512-bit) is a cryptographic hash function from the SHA-2 family designed by NIST. Produces 512-bit (64-byte) hash values from arbitrary input data.

Properties

Property Value
Category Hash Functions
Sub-category SHA-2 Family
Variant 512
Security status πŸ›‘οΈ Secure
Complexity Intermediate
Inventor NIST
Year 2001
Origin πŸ‡ΊπŸ‡Έ United States
Source algorithms/hash/sha512.js

Parameters

Parameter Supported values
Output sizes 64 bytes (512 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 cf83e1357eefb8bdf1542850d66d8007 d620e4050b5715dc83f4a921d36ce9ce 47d0d13c5d85f2b0ff8318d2877eec2f 63b931bd47417a81a538327af927da3e

Vector 2 β€” NIST Test Vector - β€˜abc’

Field Value
input 616263
expected ddaf35a193617abacc417349ae204131 12e6fa4e89a97ea20a9eeee64b55d39a 2192992a274fc1a836ba3c23a3feebbd 454d4423643ce80e2a9ac94fa54ca49f

← All algorithms