[][src]Trait gmorph::enc::Encrypt

pub trait Encrypt {
    type Output;
    fn encrypt(key_pair: &KeyPair, value: u32) -> Self::Output;
}

Helper trait for encrypting data

Associated Types

type Output

Loading content...

Required methods

fn encrypt(key_pair: &KeyPair, value: u32) -> Self::Output

Encrypts data using key_pair and outputs Self::Output

Loading content...

Implementors

impl Encrypt for Enc[src]

type Output = Enc

impl<'a> Encrypt for &'a Enc[src]

type Output = Enc

Loading content...