Module oprf

Module oprf 

Source

Structs§

BlindedToken
A BlindedToken is sent to the server for signing.
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.
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.