Agent skill · software engineering · affaan-m
nodejs-keccak256
JavaScriptとTypeScriptにおけるEthereumハッシュバグを防ぐ。NodeのSHA3-256はNIST SHA3であり、Ethereum Keccak-256ではなく、セレクター、署名、ストレージスロット、アドレス導出を静かに破壊する。
Why this skill is useful
Provides specific commands and patterns for using Keccak-256 in Ethereum applications that the AI wouldn't reliably generate on its own.
What it needs
About 1k tokens when loaded. Last updated 2026-08-06. 238,342 stars on the source repository.
What this skill does
Node.js Keccak-256 EthereumはKeccak-256を使用し、Nodeのcrypto.createHash('sha3-256')が公開するNIST標準化SHA3バリアントではない。 使用するタイミング Ethereum関数セレクターやイベントトピックの計算 JS/TSでEIP-712、署名、Merkle、またはストレージスロットヘルパーの構築 Nodeのcryptoを直接使用してEthereumデータをハッシュするコードのレビュー 仕組み 2つのアルゴリズムは同じ入力に対して異なる出力を生成し、Nodeは警告しない。 例 ethers v6 viem web3.js 一般的なパターン 公開鍵からアドレス コードベースの監査 ルール Ethereumコンテキストでは、crypto.createHash('sha3-256')を絶対に使用しない。ethers、viem、web3、または別の明示的なKeccak実装のKeccak対応ヘルパーを使用すること。
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills affaan-m/nodejs-keccak256--9187c9