Struct cosmian_cover_crypt::PublicKey
source · [−]pub struct PublicKey { /* private fields */ }
Expand description
CoverCrypt public key.
It is composed of:
-
U
andV
such thatU = g * u
andV = g * v
, whereu
andv
are scalars from the master private key andg
is the group generator. -
the
H_i
such thatH_i = g * s * x_i
withx_i
the scalars associated to each subsetS_i
.
Implementations
Trait Implementations
impl Eq for PublicKey
impl StructuralEq for PublicKey
impl StructuralPartialEq for PublicKey
Auto Trait Implementations
impl RefUnwindSafe for PublicKey
impl Send for PublicKey
impl Sync for PublicKey
impl Unpin for PublicKey
impl UnwindSafe for PublicKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more