[][src]Module mohan::hash

Various Hash functions & types Hash Functions

Structs

BlakeHasher

Hasher used to build tree @ 256bits

H256

A hash to uniquely (or close enough) identify one of the main blockchain constructs. Used pervasively for blocks, transactions and outputs.

HashWriter

Serializer that outputs a hash of the serialized object

SipHasher
Unspecified

Traits

DefaultHashable

Implementing this trait enables the default hash implementation

Hashed

A trait for types that have a canonical hash

Functions

blake160

Blake2b Hash Function

blake256

Blake2b Hash Function

blake512

Blake2b Hash Function

hash_to_ristretto

Mohan varient of hash to Point

hmac_sign

Blake2b Hash Function as HMAC

hmac_verify