SHA-512 of a word
hello
9b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca72323c3d99ba5c11d7c7acc6e14b8c5da0c4663475c2e5c3adef46f73bcdec043
Always 128 hex characters (512 bits).
Generate the SHA-512 hash of text or a file and verify SHA-512 checksums. SHA-512 is a secure SHA-2 hash with a 512-bit output, often faster than SHA-256 on 64-bit computers.
hello
9b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca72323c3d99ba5c11d7c7acc6e14b8c5da0c4663475c2e5c3adef46f73bcdec043
Always 128 hex characters (512 bits).
The quick brown fox jumps over the lazy dog
07e547d9586f6a73f73fbac0435ed76951218fb7d0c8d788a309d785436bbb642e93a252a954f23912547d1e8a3b5ed6e1bfd7097821233fa0538f3db854fee6
A standard SHA-512 test value.
cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
Seeing this value usually means empty input was hashed.
SHA-512 is a member of the SHA-2 family that produces a 512-bit hash, written as 128 hexadecimal characters. It was published by NIST in 2001 alongside SHA-256 and is fully secure: no practical attack is known.
| SHA-256 | SHA-512 | |
|---|---|---|
| Output | 256 bits (64 hex) | 512 bits (128 hex) |
| Internal word size | 32-bit | 64-bit |
| Block size | 512 bits | 1024 bits |
| Rounds | 64 | 80 |
| Speed on 64-bit CPUs | Fast | Often faster per byte |
| Common use | Checksums, certificates, Bitcoin | Signatures (Ed25519), Linux password hashes, large files |
Because SHA-512 works on 64-bit words, it often processes data faster than SHA-256 on modern 64-bit processors, even though its output is longer. On CPUs with dedicated SHA-256 instructions, SHA-256 is usually faster again.
SHA-384, SHA-512/256 and SHA-512/224 run the SHA-512 algorithm with different starting values and keep only part of the output. They get SHA-512's 64-bit speed with a shorter hash. SHA-384 is common in TLS.
$6$ prefix in /etc/shadow means SHA-512-crypt, which applies SHA-512 thousands of times with a salt.sha512sum file.iso # Linuxshasum -a 512 file.iso # macOSGet-FileHash .\file.iso -Algorithm SHA512 # PowerShellhash('sha512', 'hello');import hashlibhashlib.sha512(b'hello').hexdigest()const hash = await crypto.subtle.digest('SHA-512', new TextEncoder().encode('hello'));My SHA-512 differs from the terminal
echo adds a newline. Use echo -n or printf.
The checksum is 96 characters long
That is SHA-384, a truncated SHA-512. Select SHA-384 in the top bar.
Can I use plain SHA-512 for passwords?
No: it is fast and unsalted. Use bcrypt or Argon2, or at least SHA-512-crypt with many rounds.
512 bits: 128 hexadecimal characters, or 88 characters in Base64.
Both are secure. SHA-512 has a larger security margin, but SHA-256 is already far beyond any practical attack.
It processes data in 64-bit words, which suits 64-bit processors, so it handles more bytes per step.
No. The hash is calculated in your browser.
Free, private developer tools that run in your browser. No signup, nothing uploaded, no waiting.
Tip: press Ctrl D to bookmark dev247.