pub struct PublicKey(/* private fields */);Expand description
A Ristretto255 Public Key
Implementations§
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 Decoy for PublicKey
impl Decoy for PublicKey
Source§fn random_decoy(csprng: &mut impl CryptoRng) -> Self
fn random_decoy(csprng: &mut impl CryptoRng) -> Self
Create a decoy instance from provided RNG. Read more
Source§impl From<&StaticSecret> for PublicKey
impl From<&StaticSecret> for PublicKey
Source§fn from(value: &StaticSecret) -> Self
fn from(value: &StaticSecret) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PublicKey
impl RefUnwindSafe for PublicKey
impl Send for PublicKey
impl Sync for PublicKey
impl Unpin for PublicKey
impl UnsafeUnpin for PublicKey
impl UnwindSafe for PublicKey
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