auradefi 0.1.2
PyPI GitHub

keccak256

auradefi.sources.evm.codec.keccak · source

Return the 32-byte keccak256 digest of data.

The only public name in this module, and the only keccak in the package: every selector and every log topic in the release derives from it.

Accepts bytes and bytearray only. Any other type, including str, memoryview and None, raises ValidationError before any work is attempted. A bytearray argument is left unmodified.

Parameters

datarequired, bytes

none

Raises

ValidationError

Returns

bytes