Where SHA-512 is used
- Linux password hashes ($6$ crypt) — as the core of a slow KDF, not alone
- Ed25519 signatures use it internally
- Integrity checks on large files
Command line
sha512sum file.txt shasum -a 512 file.txt # macOS echo -n "text" | sha512sum
In code
# Python
hashlib.sha512(b"text").hexdigest()
// Node.js
crypto.createHash('sha512').update('text').digest('hex')Hashing is deterministic and one-way: the same bytes always give the same 512-bit value, and a one-character change scrambles it completely — try the avalanche demo.