Trait sarkara::auth::NonceMac [] [src]

pub trait NonceMac: Mac {
    fn nonce_length() -> usize;
    fn with_nonce(&mut self, nonce: &[u8]) -> &mut Self;
    fn with_size(&mut self, len: usize) -> &mut Self;
}

NonceMac trait.

Required Methods

Nonce length

Set Nonce.

Set MAC code length.

Implementors