Structs§
- Blinded
Token - A
BlindedTokenis sent to the server for signing. - Public
Key - A
PublicKeyis a committment by the server to a particularSigningKey. - Signed
Token - A
SignedTokenis the result of signing aBlindedToken. - Signing
Key - A
SigningKeyis used to sign aBlindedTokenand verify anUnblindedToken. - Token
- A
Tokenconsists of a randomly chosen preimage and blinding factor. - Token
Preimage - A
TokenPreimageis a slice of bytes which can be hashed to aRistrettoPoint. - Unblinded
Token - An
UnblindedTokenis the result of unblinding aSignedToken. - Verification
Key - The shared
VerificationKeyfor proving / verifying the validity of anUnblindedToken. - Verification
Signature - A
VerificationSignaturewhich can be verified given theVerificationKeyand 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.