Skip to main content

BlockEncryptor

Trait BlockEncryptor 

Source
pub trait BlockEncryptor {
    // Required methods
    fn block_size(&self) -> usize;
    fn encrypt_block(&self, input: &[u8], output: &mut [u8]);
}

Required Methods§

Source

fn block_size(&self) -> usize

Source

fn encrypt_block(&self, input: &[u8], output: &mut [u8])

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§