pub struct AuthorshipHasher(/* private fields */);Expand description
Keyed hashing of one write part’s authorship leaves (D11). Each leaf is keyed with the part’s audience key, so a member who cannot read the audience cannot confirm a guessed row from a published root. Branches and the empty tree are unkeyed: a device holding a part’s leaf hashes can open any of its leaves again without the key.
Implementations§
Trait Implementations§
Source§impl Clone for AuthorshipHasher
impl Clone for AuthorshipHasher
Source§fn clone(&self) -> AuthorshipHasher
fn clone(&self) -> AuthorshipHasher
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AuthorshipHasher
impl RefUnwindSafe for AuthorshipHasher
impl Send for AuthorshipHasher
impl Sync for AuthorshipHasher
impl Unpin for AuthorshipHasher
impl UnsafeUnpin for AuthorshipHasher
impl UnwindSafe for AuthorshipHasher
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more