Skip to main content

Blind

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>

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

§

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.
§

fn blind( &self, csprng: &mut impl CryptoRng, ) -> BlindedPublicKey<EllipticCurve<C>>

Implementors§

§

impl Blind<DalekRistretto255> for ecdh_omr::dalek_ristretto255::PublicKey