Trait monero::cryptonote::hash::Hashable[][src]

pub trait Hashable {
    fn hash(&self) -> Hash;

    fn hash_to_scalar(&self) -> PrivateKey { ... }
}

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

Required methods

fn hash(&self) -> Hash[src]

Return its own hash.

Loading content...

Provided methods

fn hash_to_scalar(&self) -> PrivateKey[src]

Apply hash() on itself and return the interpreted scalar returned by the hash result.

Loading content...

Implementors

Loading content...