Hash

Type Alias Hash 

Source
pub type Hash = Hash;
Expand description

The hash type used commonly in the Celestia.

Aliased Type§

pub enum Hash {
    Sha256([u8; 32]),
    None,
}

Variants§

§

Sha256([u8; 32])

SHA-256 hashes

§

None

Empty hash

Trait Implementations§

Source§

impl HashExt for Hash

Source§

fn default_sha256() -> Hash

Get the SHA256 hash of an empty input. Read more