pub trait FalseBottom {
// Required methods
fn init(cipher_len: usize, keybase_len: usize) -> Self;
fn add(&mut self, msg: &[u8]) -> FbKey;
fn decrypt(&self, key: &FbKey) -> Result<Vec<u8>, FbError>;
}
Expand description
The main interface to the False Bottom algorithm.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.