Module monero::cryptonote::hash

source ·
Expand description

Hash functions and types (32-bytes hash and 8-bytes hash) used in blockdata.

Support for (de)serializable hashes (Keccak-256) and Hn() (hash to number, or hash to scalar).

Structs

Result of the Keccak-256 hashing function.
An 8-bytes hash result.

Traits

Capacity of an object to hash itself and return the result as a plain Hash or as an interpreted scalar value into PrivateKey.

Functions

Compute the Keccak256 hash of the provided byte-slice.
Compute tree hash as defined by Cryptonote