Trait pwbox::UnauthenticatedCipher
source · [−]pub trait UnauthenticatedCipher: 'static {
const KEY_LEN: usize;
const NONCE_LEN: usize;
fn seal_or_open(message: &mut [u8], nonce: &[u8], key: &[u8]);
}
Expand description
Symmetric cipher without built-in authentication.