Use when an agent is building something Ethereum will hash and must get the same...
https://flat-rate-llm.kikoribera03.workers.dev/v1/util/keccak256Overview
Use when an agent is building something Ethereum will hash and must get the same digest the chain gets: Keccak-256 of any string or hex payload, with the byte count. It is NOT SHA3-256, and that confusion is the usual reason a selector or a CREATE2 address comes out wrong. Do not use for file digests or API signatures outside Ethereum (/v1/util/sha256) or for a function selector, which is already built for you (/v1/util/selector).