pub struct Token<S: Scalar>(/* private fields */);Expand description
Blinding a message before requesting a signature requires the usage of a private blinding factor that is called a Token. To unblind the signature afterwards, one needs the same token as what the blinding method returned. In this blind signature scheme, the token is simply a field element.
Implementations§
Trait Implementations§
Source§impl<'de, S> Deserialize<'de> for Token<S>
impl<'de, S> Deserialize<'de> for Token<S>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<S> Freeze for Token<S>where
S: Freeze,
impl<S> RefUnwindSafe for Token<S>where
S: RefUnwindSafe,
impl<S> Send for Token<S>
impl<S> Sync for Token<S>
impl<S> Unpin for Token<S>where
S: Unpin,
impl<S> UnwindSafe for Token<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more