Module ethcore_util::sha3 [] [src]

Wrapper around tiny-keccak crate as well as common hash constants.

Constants

SHA3_EMPTY

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

SHA3_EMPTY_LIST_RLP

The SHA3 of the RLP encoding of empty list.

SHA3_NULL_RLP

The SHA3 of the RLP encoding of empty data.

Traits

Hashable

Types implementing this trait are sha3able.

Functions

sha3

Calculate SHA3 of given stream.