[][src]Trait loco_protocol::secure::SecureDataWrite

pub trait SecureDataWrite {
    pub fn encrypt_data(
        &mut self,
        crypto: &impl LocoCrypto,
        iv: &[u8; 16],
        data: &[u8]
    ) -> Result<usize, Error>; }

Required methods

pub fn encrypt_data(
    &mut self,
    crypto: &impl LocoCrypto,
    iv: &[u8; 16],
    data: &[u8]
) -> Result<usize, Error>
[src]

Loading content...

Implementors

impl<T: Write> SecureDataWrite for T[src]

Loading content...