Crate keccak_hash [] [src]

Structs

H256

Unformatted binary data of fixed length.

Constants

KECCAK_EMPTY

Get the KECCAK (i.e. Keccak) hash of the empty bytes string.

KECCAK_EMPTY_LIST_RLP

The KECCAK of the RLP encoding of empty list.

KECCAK_NULL_RLP

The KECCAK of the RLP encoding of empty data.

Functions

keccak
keccak_256

Hashes input. Returns -1 if either out or input does not exist. Otherwise returns 0.

keccak_512

Hashes input. Returns -1 if either out or input does not exist. Otherwise returns 0.

keccak_buffer
keccak_pipe
write_keccak