Struct snarkvm_algorithms::encryption::group_parameters::GroupEncryptionParameters [−][src]
pub struct GroupEncryptionParameters<G: Group> { pub generator_powers: Vec<G>, pub salt: [u8; 32], }
Fields
generator_powers: Vec<G>
salt: [u8; 32]
Implementations
impl<G: Group> GroupEncryptionParameters<G>
[src]
impl<G: Group> GroupEncryptionParameters<G>
[src]Trait Implementations
impl<G: Group> Clone for GroupEncryptionParameters<G> where
G: Group,
[src]
impl<G: Group> Clone for GroupEncryptionParameters<G> where
G: Group,
[src]impl<G: Group> Debug for GroupEncryptionParameters<G> where
G: Group,
[src]
impl<G: Group> Debug for GroupEncryptionParameters<G> where
G: Group,
[src]impl<G: Group + ProjectiveCurve, SG: Group, D: Digest> From<GroupEncryptionParameters<G>> for GroupEncryption<G, SG, D>
[src]
impl<G: Group + ProjectiveCurve, SG: Group, D: Digest> From<GroupEncryptionParameters<G>> for GroupEncryption<G, SG, D>
[src]fn from(parameters: GroupEncryptionParameters<G>) -> Self
[src]
fn from(parameters: GroupEncryptionParameters<G>) -> Self
[src]Performs the conversion.
impl<G: Group + ProjectiveCurve + CanonicalSerialize, SG: Group + CanonicalDeserialize, D: Digest> From<GroupEncryptionParameters<G>> for SchnorrSignature<SG, D>
[src]
impl<G: Group + ProjectiveCurve + CanonicalSerialize, SG: Group + CanonicalDeserialize, D: Digest> From<GroupEncryptionParameters<G>> for SchnorrSignature<SG, D>
[src]Map the GroupEncryption parameters into a Schnorr signature scheme.
fn from(parameters: GroupEncryptionParameters<G>) -> Self
[src]
fn from(parameters: GroupEncryptionParameters<G>) -> Self
[src]Performs the conversion.
impl<G: Group> FromBytes for GroupEncryptionParameters<G>
[src]
impl<G: Group> FromBytes for GroupEncryptionParameters<G>
[src]impl<G: Group> PartialEq<GroupEncryptionParameters<G>> for GroupEncryptionParameters<G> where
G: Group,
[src]
impl<G: Group> PartialEq<GroupEncryptionParameters<G>> for GroupEncryptionParameters<G> where
G: Group,
[src]impl<G: Group> ToBytes for GroupEncryptionParameters<G>
[src]
impl<G: Group> ToBytes for GroupEncryptionParameters<G>
[src]impl<F: Field, G: Group + ToConstraintField<F>> ToConstraintField<F> for GroupEncryptionParameters<G>
[src]
impl<F: Field, G: Group + ToConstraintField<F>> ToConstraintField<F> for GroupEncryptionParameters<G>
[src]fn to_field_elements(&self) -> Result<Vec<F>, ConstraintFieldError>
[src]
impl<G: Group> Eq for GroupEncryptionParameters<G> where
G: Group,
[src]
G: Group,
Auto Trait Implementations
impl<G> RefUnwindSafe for GroupEncryptionParameters<G> where
G: RefUnwindSafe,
G: RefUnwindSafe,
impl<G> Send for GroupEncryptionParameters<G>
impl<G> Sync for GroupEncryptionParameters<G>
impl<G> Unpin for GroupEncryptionParameters<G> where
G: Unpin,
G: Unpin,
impl<G> UnwindSafe for GroupEncryptionParameters<G> where
G: UnwindSafe,
G: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,