Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceAlgorithmskeccak-256

Keccak-256

The original Keccak hash with a 256-bit output, as submitted to the SHA-3 competition before FIPS 202 changed its padding, so its outputs differ from SHA3-256. Ethereum uses it for addresses, transaction hashes, function selectors and storage keys. Grover's search would roughly halve its effective security, so its 256-bit output stays adequate.

In short

What a quantum computer changes.

Quantum effect
Weakened by Grover's search
Family
HashRests on hash function security.
What it means
Grover's algorithm searches an unstructured space in roughly the square root of the usual number of steps. Against a symmetric key or a hash preimage, that roughly halves the effective security in bits: a 128-bit key gives about 64 bits of security against it. In practice the answer is size, not replacement. Keys and outputs of 256 bits stay adequate. Grover's search also needs a long, sequential run on a fault-tolerant machine and does not split well across many machines, so the effect is a smaller margin, not a break.

This describes the family, not any project that uses it.

32 in the catalogue

Packages that provide it

Packages that provide Keccak-256
PackageProvides
@noble/hashesnpmPure TypeScript hash, MAC and KDF library: SHA-1, SHA-2, SHA-3 and Keccak, BLAKE2 and BLAKE3, RIPEMD-160, HMAC, HKDF, PBKDF2, scrypt and Argon2.
hash-wasmnpmHash and password-hashing functions compiled to WebAssembly, including SHA-1, SHA-2, SHA-3, Keccak, BLAKE2, BLAKE3, RIPEMD-160, HMAC, PBKDF2, scrypt, bcrypt and Argon2.
js-sha3npmPure JavaScript SHA-3, Keccak, SHAKE, cSHAKE and KMAC hash functions.
keccaknpmNative bindings to the Keccak Code Package with a pure JavaScript fallback, providing Keccak-224 to Keccak-512, SHA3-224 to SHA3-512 and SHAKE through a Node-style hash interface.
crypto-jsnpmPure JavaScript library of hashes, HMAC, PBKDF2 and ciphers: MD5, SHA-1, SHA-2, a Keccak function it calls SHA3, RIPEMD-160, AES, TripleDES, RC4 and Rabbit.
ethersnpmEthereum library with secp256k1 signing, recovery and ECDH, Keccak-256, SHA-2, RIPEMD-160, HMAC, PBKDF2 and scrypt helpers, BIP-39 and BIP-32 wallets, and encrypted JSON keystores.
@ethersproject/json-walletsnpmThe ethers v5 sub-package that encrypts and decrypts Ethereum keystore and crowdsale JSON wallets with scrypt or PBKDF2, AES and a Keccak-256 MAC.
web3npmEthereum JavaScript API whose accounts module signs with secp256k1, hashes with Keccak-256 and encrypts V3 keystores with scrypt or PBKDF2 and AES-128-CTR.
web3-eth-accountsnpmThe web3.js accounts package: secp256k1 signing and recovery, Keccak-256 message hashing, and V3 keystores encrypted with scrypt or PBKDF2 and AES-128-CTR.
viemnpmTypeScript Ethereum interface with secp256k1 local accounts, BIP-39 and BIP-32 accounts, WebAuthn P-256 accounts, and Keccak-256, SHA-256 and RIPEMD-160 utilities.
ethereum-cryptographynpmCollection of the primitives Ethereum uses: secp256k1, BN254 and BLS12-381 curves, Keccak, SHA-2, RIPEMD-160, BLAKE2b, PBKDF2, scrypt, AES, BIP-32, BIP-39 and random bytes.
@ethereumjs/utilnpmEthereumJS shared utilities, including secp256k1 signature recovery and validation and EIP-7702 authorization signing.
ethereumjs-utilnpmThe pre-scoped EthereumJS utility package with Keccak, SHA-256 and RIPEMD-160 hashing and secp256k1 signing and recovery.
@ethereumjs/walletnpmEthereumJS wallet utilities for secp256k1 key creation, BIP-32 HD keys and V3 keystores encrypted with scrypt or PBKDF2 and AES.
ethereumjs-walletnpmThe former name of the EthereumJS wallet package: secp256k1 keys and V3 keystores encrypted with scrypt or PBKDF2 and AES.
@metamask/eth-sig-utilnpmMetaMask signing functions for personal_sign, EIP-712 typed data and EIP-7702 authorizations over secp256k1, plus x25519-xsalsa20-poly1305 message encryption.
eth-sig-utilnpmThe former MetaMask package for personal_sign and EIP-712 typed data signing and recovery over secp256k1.
micro-eth-signernpmMinimal Ethereum library for secp256k1 transaction and message signing, legacy and EIP-2335 keystores, EIP-2333 key derivation, and KZG and PeerDAS blob commitments.
eth-cryptonpmEthereum helper library for secp256k1 identities, signing and recovery, Keccak-256 hashing, and ECIES encryption to public keys.
@scure/starknetnpmStarknet cryptography: ECDSA over the Stark curve, Pedersen and Poseidon hashes, and Starknet Keccak.
starknetnpmStarknet JavaScript SDK with Stark curve signing, Pedersen, Poseidon and Keccak hashing, and an Ethereum secp256k1 signer for accounts.
@polkadot/util-cryptonpmPolkadot crypto utilities: sr25519, Ed25519 and secp256k1 keys and signatures, BLAKE2, Keccak, SHA-2, HMAC, PBKDF2, scrypt, NaCl secretbox and encrypted JSON.
@polkadot/wasm-cryptonpmWebAssembly build of the Rust primitives behind @polkadot/util-crypto: sr25519, Ed25519, secp256k1, BLAKE2b, Keccak, SHA-2, HMAC, PBKDF2, scrypt and BIP-39.
@cosmjs/cryptonpmCosmJS cryptography: secp256k1 and Ed25519 signing, SHA-2, Keccak-256, RIPEMD-160, HMAC, BIP-39, SLIP-10, Argon2id and XChaCha20-Poly1305.
sha3crates.ioPure Rust SHA3-224, SHA3-256, SHA3-384 and SHA3-512, plus the original Keccak variants including Keccak-256.
tiny-keccakcrates.ioImplementation of Keccak-derived functions: SHA-3, original Keccak, SHAKE, cSHAKE, KMAC, TupleHash, ParallelHash and KangarooTwelve.
alloy-primitivescrates.ioEthereum primitive types for Alloy, including a Keccak-256 helper, EIP-191 message hashing and an ECDSA secp256k1 signature type with public key and address recovery.
etherscrates.ioThe ethers-rs Ethereum client library, which signs transactions with secp256k1 ECDSA and hashes with Keccak-256 through its sub-crates.
ethers-corecrates.ioEthereum types and utilities for ethers-rs, including Keccak-256 hashing and secp256k1 ECDSA signature types with recovery.
eth-keystorecrates.ioEncrypted JSON keystores in the Web3 Secret Storage format: scrypt or PBKDF2 key derivation, AES-128-CTR encryption and a Keccak-256 MAC.
sp-corecrates.ioShared Substrate and Polkadot SDK types, including sr25519, Ed25519 and secp256k1 ECDSA key pairs and signatures and Blake2 and Keccak hashers.
solana-sdkcrates.ioThe Solana client SDK: Ed25519 keypairs and 64-byte Ed25519 transaction signatures, with SHA-256, Keccak-256 and BLAKE3 hashing modules.

2 listed

Sources

  1. Keccak Team: Keccakkeccak.teamRetrieved 3 December 2026
  2. FIPS 202: SHA-3 Standard: Permutation-Based Hash and Extendable-Output Functionscsrc.nist.govRetrieved 3 December 2026

Full record

Identifier
keccak-256
Kind
hash
Family
Hash
Rests on
hash function security
Quantum effect
Weakened by Grover's search

Standards

No standard is listed for this algorithm.