Trait Blind
pub trait Blind<K: KeyPair> {
// Required method
fn blind(&self, csprng: &mut impl CryptoRng) -> BlindedPublicKey<K>;
}Expand description
Blind a public key.
Required Methods§
fn 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".
Implementations on Foreign Types§
§impl Blind<DalekX25519> for PublicKey
impl Blind<DalekX25519> for PublicKey
fn blind(&self, csprng: &mut impl CryptoRng) -> BlindedPublicKey<DalekX25519>
§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.