Trait Decrypt
gmorph::enc
pub trait Decrypt { type Output; fn decrypt(&self, key_pair: &KeyPair) -> Self::Output; }
Helper trait for decrypting data
type Output
fn decrypt(&self, key_pair: &KeyPair) -> Self::Output
Decrypts Self using key_pair and outputs data
Self
key_pair
impl Decrypt for Enc
type Output = u32
impl<'a> Decrypt for &'a Enc