About the SHA-512 Hash
SHA-512 is the widest member of the SHA-2 family: a 512-bit digest written as 128 hex characters or 88 Base64 characters. It works on 64-bit words and 128-byte blocks, so on 64-bit CPUs it is often faster than SHA-256 for large inputs. SHA-384, shown below the main result, is SHA-512 with different initial values, truncated to 384 bits.
Common uses include file checksums published by Linux distributions (sha512sum), npm's integrity field in package-lock.json (sha512-<base64>), Subresource Integrity, Ed25519 signatures (which use SHA-512 internally) and HMAC-SHA512 for API request signing.
The digest is computed with the browser's native crypto.subtle.digest('SHA-512', …) on the UTF-8 bytes of your text or on a file you select; nothing leaves your machine. A longer digest does not make it suitable for passwords: like SHA-256 it is fast, so use bcrypt or Argon2 for password storage.
How to use it
- Enter text or choose “Hash a file”.
- Read the SHA-512 digest.
- Use Base64 output for npm or SRI integrity strings.
- Copy the value.