Skip to main content

PartHasher

Trait PartHasher 

Source
pub trait PartHasher {
    // Required method
    fn leaf(&self, leaf: &[u8]) -> [u8; 32];
}
Expand description

Keyed hashing of one part’s leaves. Branches are unkeyed (D11).

Required Methods§

Source

fn leaf(&self, leaf: &[u8]) -> [u8; 32]

One leaf’s encoded bytes.

Implementations on Foreign Types§

Source§

impl PartHasher for AuthorshipHasher

Source§

fn leaf(&self, leaf: &[u8]) -> [u8; 32]

Implementors§