pub struct DalekRistretto255 {}Expand description
Alias-ish type for Ristretto255-dalek key pairs.
Trait Implementations§
Source§impl Blind<DalekRistretto255> for PublicKey
impl Blind<DalekRistretto255> for PublicKey
Source§fn blind(
&self,
csprng: &mut impl CryptoRng,
) -> BlindedPublicKey<DalekRistretto255>
fn blind( &self, csprng: &mut impl CryptoRng, ) -> BlindedPublicKey<DalekRistretto255>
Blind a public key with the supplied RNG.
Source§impl Clone for DalekRistretto255
impl Clone for DalekRistretto255
Source§fn clone(&self) -> DalekRistretto255
fn clone(&self) -> DalekRistretto255
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DalekRistretto255
impl Debug for DalekRistretto255
Source§impl<A: Aead + KeyInit, L: ArraySize> Hinting<DalekRistretto255, L> for Hint<DalekRistretto255, A, L>where
Self: HintSized<DalekRistretto255, A, L>,
impl<A: Aead + KeyInit, L: ArraySize> Hinting<DalekRistretto255, L> for Hint<DalekRistretto255, A, L>where
Self: HintSized<DalekRistretto255, A, L>,
Source§type HintSize = <Hint<DalekRistretto255, A, L> as HintSized<DalekRistretto255, A, L>>::Size
type HintSize = <Hint<DalekRistretto255, A, L> as HintSized<DalekRistretto255, A, L>>::Size
Byte length of a serialized
Hint: public key + ciphertext + tag.Source§fn new(
blinded_public_key: &BlindedPublicKey<DalekRistretto255>,
message: &Array<u8, L>,
context: &[u8],
csprng: &mut impl CryptoRng,
) -> Result<Self, Error>
fn new( blinded_public_key: &BlindedPublicKey<DalekRistretto255>, message: &Array<u8, L>, context: &[u8], csprng: &mut impl CryptoRng, ) -> Result<Self, Error>
Create a new
Hint.Source§fn from_blinding_factor_secret(
blinding_factor_secret: &StaticSecret,
blinded_public_key: &BlindedPublicKey<DalekRistretto255>,
message: &Array<u8, L>,
context: &[u8],
) -> Result<Self, Error>
fn from_blinding_factor_secret( blinding_factor_secret: &StaticSecret, blinded_public_key: &BlindedPublicKey<DalekRistretto255>, message: &Array<u8, L>, context: &[u8], ) -> Result<Self, Error>
Create a new
Hint using a blinding factor secret.Source§impl KeyPair for DalekRistretto255
impl KeyPair for DalekRistretto255
Source§impl TakeTheHint<DalekRistretto255> for StaticSecret
impl TakeTheHint<DalekRistretto255> for StaticSecret
Auto Trait Implementations§
impl Freeze for DalekRistretto255
impl RefUnwindSafe for DalekRistretto255
impl Send for DalekRistretto255
impl Sync for DalekRistretto255
impl Unpin for DalekRistretto255
impl UnsafeUnpin for DalekRistretto255
impl UnwindSafe for DalekRistretto255
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