What is a cryptographic hash?
A cryptographic hash turns any input into a fixed-size digest (32 bytes for SHA-256) such that the same input always gives the same digest, a one-character change gives a completely different one, and the input cannot be recovered from the output. Hashes verify file integrity, fingerprint content and underpin signatures and HMAC. SHA-256 and the SHA-2 family are current; MD5 and SHA-1 are broken against deliberate collisions and should only be used as checksums.
Security note: A plain hash is not a password store. Passwords need a slow, salted algorithm — Argon2id, scrypt or bcrypt — because SHA-256 and MD5 can be tried billions of times per second.
How to use SHA-512 Generator
- Paste the text.
- Choose the output format.
- Copy the 128-character digest.
SHA-512 Generator features
- SHA-512 via WebCrypto
- Hex, Base64, Base64url and binary output
- Expected-hash comparison
- Live results
SHA-512 Generator example
SHA-512 of "abc"
Input:
abcOutput:
ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49fFrequently asked questions about SHA-512 Generator
Is SHA-512 more secure than SHA-256?
It offers a larger 512-bit digest and is often faster on 64-bit CPUs, but both are considered secure. SHA-256 is far more common; pick SHA-512 when a protocol or policy asks for it.
What is the output length?
512 bits: 128 hexadecimal characters or 88 Base64 characters.
Can I hash binary data?
This tool hashes the UTF-8 bytes of the text you paste. For files use a command-line tool such as sha512sum or certutil -hashfile.
Technical notes
SHA-512 operates on 64-bit words and 1024-bit blocks, producing a 512-bit digest. On 64-bit processors it is often faster than SHA-256 despite the larger output.
References
- FIPS 180-4: Secure Hash Standard (SHS)The US federal standard that specifies the SHA-1 and SHA-2 family of hash functions.
- RFC 6234: US Secure Hash Algorithms (SHA and SHA-based HMAC and HKDF)Reference descriptions and code for SHA-1, SHA-224/256/384/512 and their use in HMAC.
- RFC 1321: The MD5 Message-Digest AlgorithmThe original MD5 definition. MD5 is now considered broken for signatures and passwords; it remains useful only as a checksum.