pub trait Sharing {
type Plain: Clone + Default + Debug;
type Shared: ShareStorage<Self::Plain>;
// Required methods
fn share(&mut self, input: Self::Shared) -> [Self::Shared; 2];
fn reconstruct(shares: [Self::Shared; 2]) -> Self::Shared;
}
Required Associated Types§
Required Methods§
fn reconstruct(shares: [Self::Shared; 2]) -> Self::Shared
Object Safety§
This trait is not object safe.