[][src]Struct snarkvm_algorithms::encryption::group::GroupEncryption

pub struct GroupEncryption<G: Group + ProjectiveCurve> {
    pub parameters: GroupEncryptionParameters<G>,
}

Fields

parameters: GroupEncryptionParameters<G>

Trait Implementations

impl<G: Clone + Group + ProjectiveCurve> Clone for GroupEncryption<G>[src]

impl<G: Debug + Group + ProjectiveCurve> Debug for GroupEncryption<G>[src]

impl<G: Group + ProjectiveCurve> EncryptionScheme for GroupEncryption<G>[src]

type BlindingExponent = <G as Group>::ScalarField

type Parameters = GroupEncryptionParameters<G>

type PrivateKey = <G as Group>::ScalarField

type PublicKey = GroupEncryptionPublicKey<G>

type Randomness = <G as Group>::ScalarField

type Text = G

impl<G: Eq + Group + ProjectiveCurve> Eq for GroupEncryption<G>[src]

impl<G: Group + ProjectiveCurve> From<GroupEncryptionParameters<G>> for GroupEncryption<G>[src]

impl<G: PartialEq + Group + ProjectiveCurve> PartialEq<GroupEncryption<G>> for GroupEncryption<G>[src]

impl<G: Group + ProjectiveCurve> StructuralEq for GroupEncryption<G>[src]

impl<G: Group + ProjectiveCurve> StructuralPartialEq for GroupEncryption<G>[src]

Auto Trait Implementations

impl<G> RefUnwindSafe for GroupEncryption<G> where
    G: RefUnwindSafe
[src]

impl<G> Send for GroupEncryption<G>[src]

impl<G> Sync for GroupEncryption<G>[src]

impl<G> Unpin for GroupEncryption<G> where
    G: Unpin
[src]

impl<G> UnwindSafe for GroupEncryption<G> where
    G: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,