pub trait Blind<K: KeyPair> {
// Required method
fn blind(&self, csprng: &mut impl CryptoRng) -> BlindedPublicKey<K>;
}Expand description
Blind a public key.
Required Methods§
Sourcefn blind(&self, csprng: &mut impl CryptoRng) -> BlindedPublicKey<K>
fn blind(&self, csprng: &mut impl CryptoRng) -> BlindedPublicKey<K>
Blind a public key with the supplied RNG.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl Blind<DalekX25519> for PublicKey
impl Blind<DalekX25519> for PublicKey
fn blind(&self, csprng: &mut impl CryptoRng) -> BlindedPublicKey<DalekX25519>
Source§impl<C: CurveArithmetic> Blind<EllipticCurve<C>> for PublicKey<C>
Available on crate feature rustcrypto-ec only.
impl<C: CurveArithmetic> Blind<EllipticCurve<C>> for PublicKey<C>
Available on crate feature
rustcrypto-ec only.