pub struct SecretShare(/* private fields */);
Expand description
A “secret share” as defined by the Wamu protocol.
Ref: https://wamu.tech/specification#share-splitting-and-reconstruction.
Implementations§
Trait Implementations§
Source§fn from(value: Random32Bytes) -> Self
fn from(value: Random32Bytes) -> Self
Converts Random32Bytes
into a “secret share”.
Auto Trait Implementations§
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