SHA-512 Generator

The SHA-512 hash of any text or file

Hashed as UTF-8, exactly as typed, including spaces and line breaks.

Hashes

SHA-512
af632db506bf270f4422d8bfd14386add5cfe557e6cad90cd55a3512793ce79b4d3b6161830163e4c73ca86e862589053c1d2015b3903aa87a98549f8f28d366
MD5
f62efd51eb85ca300e399c00f7522cb5
SHA-1
20389f1318db6ef51b7dd2e158c9fe14e5382ac6
SHA-256
a5f70d3622ba5a285b0c983a1f0e3e912b558c2f78ca5f8a12500d817479142d
SHA-384
4f0925131437a06988a62cf34b59a00e1217cbbe613342e0ea7e30051f24dd68c4eabaeafa8b6281ae2ef35fd598dad4

SHA-512 Generator guide

SHA-512 is the long member of the SHA-2 family: a 512-bit hash written as 128 hex characters. On 64-bit computers it is often faster than SHA-256, and it is used for npm package integrity, Linux password files, and long-term signatures.

SHA-512 or SHA-256?

Both are secure. SHA-512 gives a longer hash and often runs faster on 64-bit CPUs, while SHA-256 is shorter and more widely expected. SHA-384 is SHA-512 with a different starting point, cut to 384 bits.

Where SHA-512 is used

  • npm lockfiles, whose integrity fields start with sha512-.
  • Linux password hashes that begin with $6$, which run SHA-512 many thousands of times.
  • File checksums for large downloads.

Checking a download

Click Hash a file and choose the file, then paste the checksum published by the site you downloaded it from into Check against a hash. A match means your copy is identical to the original, byte for byte.

From the command line

# macOS
shasum -a 512 file.zip

# Linux
sha512sum file.zip

# Windows (PowerShell)
Get-FileHash file.zip -Algorithm SHA512

Frequently asked questions

How long is a SHA-512 hash?
512 bits, written as 128 hexadecimal characters.
Is SHA-512 more secure than SHA-256?
Both have no known practical attacks. SHA-512's longer output gives a larger safety margin, but SHA-256 is strong enough for nearly every use.
Why is the npm integrity value different from this hash?
npm writes the SHA-512 hash in Base64, after sha512-. This tool shows it in hex; the bytes are the same.