#[repr(C)]
pub struct UnblindedToken { pub t: TokenPreimage, W: CompressedRistretto, }
Expand description

An UnblindedToken is the result of unblinding a SignedToken.

While both the client and server both “know” this value, it should nevertheless not be sent between the two.

Fields

t: TokenPreimage

t is the TokenPreimage

W: CompressedRistretto

W is the unblinded signed CompressedRistretto point

\(W = Q^{1/r} = P^{k(1/r)} = T^{rk(1/r)} = T^k\)

Implementations

Derive the VerificationKey for this particular UnblindedToken

Convert this UnblindedToken to a byte array.

Construct a UnblindedToken from a slice of bytes.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.