1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
/// Dummy cipher
#[derive(Clone)]
pub struct DummyCipher;
impl core::fmt::Debug for DummyCipher {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("DummyCipher").finish()
}
}
impl DummyCipher {
pub fn new() -> Self {
Self
}
}
impl Default for DummyCipher {
fn default() -> Self {
Self::new()
}
}