Generate SHA512-256 hashes - optimized 64-bit SHA-512 truncated to 256 bits with 128-bit collision resistance.
About
SHA512-256 is a truncated variant of SHA-512, producing 256-bit output using SHA-512 processing with different initial values, optimized for 64-bit platforms to provide better performance with added security margin.
Specifications
Output Size256 bits
StandardFIPS 180-4
Standard Year2015
Origin SHA-512/256 introduction
Origin Year 2012
Use Cases
—High-performance 64-bit systems
—Applications requiring SHA-256 compatibility
—Cryptographic protocols on 64-bit architectures
—Improved security margin over SHA-256
—Ed25519 signature scheme
Frequently Asked Questions
SHA-512/256 uses 64-bit operations which are faster on 64-bit CPUs than SHA-256's 32-bit operations. It provides the same 256-bit output with potentially better performance and a higher security margin due to the internal SHA-512 processing.
No, they produce different outputs for the same input. SHA-512/256 uses different initial values and truncates the final SHA-512 state. They are different algorithms despite producing the same output length. Choose one and use it consistently.
SHA-512/256 is used in Ed25519 signature scheme, some TLS implementations, and systems requiring high performance on 64-bit architectures. It's particularly popular in cryptographic libraries optimized for modern 64-bit processors.