Skip to content
uencoder

SHA-512

SHA-512 is the 512-bit-output member of the SHA-2 family; faster than SHA-256 on 64-bit platforms, providing a higher security margin.

Purpose

Provides a 512-bit secure hash for high-security needs and 64-bit-optimized scenarios.

Mechanism

Processes input in 1024-bit blocks, maintaining a 512-bit state (eight 64-bit words). Each block goes through 80 steps of nonlinear transforms updating the state. Outputs a 512-bit digest. Efficient on 64-bit platforms due to word-length match.

Use cases

  • High-security digital signatures
  • PGP/GPG key fingerprints
  • Crypto library internals
  • Blockchains (some)

Examples

  • Input
    hello
    Output
    9b71d224bd62f3785d4d2262f6d2c3c2...

    512 bits = 128 hex characters

Common errors

Assuming a longer output is always more secure
256 bits suffice; choose per need

Related terms

Related tools

References