Skip to content
uencoder

SHA-3 (Keccak)

SHA-3 is the hash standard based on the Keccak sponge construction; structurally entirely different from SHA-2, it serves as a fallback in case SHA-2 is broken.

Purpose

Provides an alternative hash structurally independent of SHA-2, increasing cryptographic diversity.

Mechanism

A sponge construction based on the Keccak-f[1600] permutation: in the absorb phase, input is chunked by the rate, XORed into the state, and permuted; in the squeeze phase, output is extracted from the state. Capacity c determines the security level. SHA3-256 outputs 256 bits.

Use cases

  • NIST standard alternative hash
  • Ethereum address hashing (Keccak-256)
  • Crypto library diversity
  • Length-extension-resistant scenarios

Examples

  • Input
    hello
    Output
    1c8aff950685c2edc9a3d8b3e1c1c5...

    SHA3-256 output

Common errors

Confusing SHA3-256 with Keccak-256 (different padding)
Be explicit about the SHA-3 or Keccak variant

Related terms

Related tools

References