pub enum SeedKind {
Ctr(Seed),
Xof(XofSeed),
}Variants§
Ctr(Seed)
Initializes the Aes-Ctr with a counter starting at 0 and uses the seed as the Aes key.
Xof(XofSeed)
Seed that initialized the Aes-Ctr following the Threshold (Fully) Homomorphic Encryption document (see XofSeed).
An Aes-Key and starting counter will be derived from the XofSeed, to then initialize the Aes-Ctr random generator
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SeedKind
impl RefUnwindSafe for SeedKind
impl Send for SeedKind
impl Sync for SeedKind
impl Unpin for SeedKind
impl UnwindSafe for SeedKind
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