Trait cryptraits::key::Blind

source ·
pub trait Blind {
    type E: Error;

    // Required methods
    fn blind(&mut self, blinding_factor: &[u8]) -> Result<(), Self::E>;
    fn to_blind(&self, blinding_factor: &[u8]) -> Result<Self, Self::E>
       where Self: Sized;
}
Expand description

Perform a blinding operation on keys.

Required Associated Types§

Required Methods§

source

fn blind(&mut self, blinding_factor: &[u8]) -> Result<(), Self::E>

Perform a blinding operation on the key with the given blinding factor.

source

fn to_blind(&self, blinding_factor: &[u8]) -> Result<Self, Self::E>
where Self: Sized,

Perform a blinding operation on the key with the given blinding factor.

Implementors§