[][src]Enum sapling_crypto_ce::babyjubjub::FixedGenerators

pub enum FixedGenerators {
    ProofGenerationKey,
    NoteCommitmentRandomness,
    NullifierPosition,
    ValueCommitmentValue,
    ValueCommitmentRandomness,
    SpendingKeyGenerator,
    Max,
}

Fixed generators of the Jubjub curve of unknown exponent.

Variants

ProofGenerationKey

The prover will demonstrate knowledge of discrete log with respect to this base when they are constructing a proof, in order to authorize proof construction.

NoteCommitmentRandomness

The note commitment is randomized over this generator.

NullifierPosition

The node commitment is randomized again by the position in order to supply the nullifier computation with a unique input w.r.t. the note being spent, to prevent Faerie gold attacks.

ValueCommitmentValue

The value commitment is used to check balance between inputs and outputs. The value is placed over this generator.

ValueCommitmentRandomness

The value commitment is randomized over this generator, for privacy.

SpendingKeyGenerator

The spender proves discrete log with respect to this base at spend time.

Max

Trait Implementations

impl Clone for FixedGenerators[src]

impl Copy for FixedGenerators[src]

Auto Trait Implementations

Blanket Implementations

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

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

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self