pub struct DummyCipher { /* private fields */ }Expand description
Dummy XOR-based cipher used by tests.
This type is intentionally insecure.
Trait Implementations§
Source§impl AesCipher for DummyCipher
impl AesCipher for DummyCipher
Source§fn encrypt_block(&self, block: &mut [u8; 16])
fn encrypt_block(&self, block: &mut [u8; 16])
Encrypt one 16-byte block in place.
Source§fn decrypt_block(&self, block: &mut [u8; 16])
fn decrypt_block(&self, block: &mut [u8; 16])
Decrypt one 16-byte block in place.