[][src]Module challenge_bypass_ristretto::voprf

An implementation of a verifiable oblivious pseudorandom function

Structs

BatchDLEQProof

A BatchDLEQProof is a proof of the equivalence of the discrete logarithm between a common pair of points and one or more other pairs of points.

BlindedToken

A BlindedToken is sent to the server for signing.

DLEQProof

A DLEQProof is a proof of the equivalence of the discrete logarithm between two pairs of points.

PublicKey

A PublicKey is a committment by the server to a particular SigningKey.

SignedToken

A SignedToken is the result of signing a BlindedToken.

SigningKey

A SigningKey is used to sign a BlindedToken and verify an UnblindedToken.

Token

A Token consists of a randomly chosen preimage and blinding factor.

TokenPreimage

A TokenPreimage is a slice of bytes which can be hashed to a RistrettoPoint.

UnblindedToken

An UnblindedToken is the result of unblinding a SignedToken.

VerificationKey

The shared VerificationKey for proving / verifying the validity of an UnblindedToken.

VerificationSignature

A VerificationSignature which can be verified given the VerificationKey and message

Constants

BLINDED_TOKEN_LENGTH

The length of a BlindedToken, in bytes.

DLEQ_PROOF_LENGTH

The length of a DLEQProof, in bytes.

PUBLIC_KEY_LENGTH

The length of a PublicKey, in bytes.

SIGNED_TOKEN_LENGTH

The length of a SignedToken, in bytes.

SIGNING_KEY_LENGTH

The length of a SigningKey, in bytes.

TOKEN_LENGTH

The length of a Token, in bytes.

TOKEN_PREIMAGE_LENGTH

The length of a TokenPreimage, in bytes.

UNBLINDED_TOKEN_LENGTH

The length of a UnblindedToken, in bytes.

VERIFICATION_SIGNATURE_LENGTH

The length of a VerificationSignature, in bytes.