nodejs-keccak256
Prevent Ethereum hashing bugs in JavaScript and TypeScript. Node's sha3-256 is NIST SHA3, not Ethereum Keccak-256, and silently breaks selectors, signatures, storage slots, and address derivation. Use when hashing for Ethereum in JavaScript or TypeScript, or when a selector, signature, storage slot, or derived address is wrong.
- installs 8w
- 1,709
- 30-day movement
- starts with the next reading
- Related entries
- 5
- Connections
- 0
An agent skill that teaches correct Keccak-256 hashing for Ethereum in JavaScript and TypeScript, warning that Node's sha3-256 is the NIST SHA3 variant and produces different output. It includes when-to-use guidance, a workflow, and examples using ethers v6, viem, and web3.js for selectors, signatures, storage slots, and address derivation.
Reach for it when a selector, signature, storage slot, or derived address is wrong or when hashing for Ethereum, since the Node-vs-Keccak mismatch fails silently.
Use it to
- Compute Ethereum function selectors and event topics correctly
- Build EIP-712, signature, Merkle, or storage-slot helpers in JS/TS
- Derive addresses from public keys
- Audit a codebase for incorrect sha3-256 usage
For JavaScript and TypeScript developers hashing for Ethereum
- Host repository
- affaan-m/ECC
- Version
- 1.0.0
- Installs, lifetime
- 3,000
- Installs, 8 weeks
- 1,709
- Host stars
- 261k
- Host language
- JavaScript