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