[][src]Trait internet2::Encrypt

pub trait Encrypt {
    pub fn encrypt(&mut self, buffer: impl Borrow<[u8]>) -> Vec<u8>;
}

Required methods

pub fn encrypt(&mut self, buffer: impl Borrow<[u8]>) -> Vec<u8>[src]

Loading content...

Implementors

impl Encrypt for NoiseEncryptor[src]

impl Encrypt for NoiseTranscoder[src]

impl Encrypt for PlainTranscoder[src]

Loading content...