[][src]Trait crypto_mac::FromBlockCipher

pub trait FromBlockCipher {
    type Cipher: BlockCipher;
    pub fn from_cipher(cipher: Self::Cipher) -> Self;
}
This is supported on crate feature cipher only.

Trait for MAC functions which can be created from block cipher.

Associated Types

type Cipher: BlockCipher[src]

Block cipher type

Loading content...

Required methods

pub fn from_cipher(cipher: Self::Cipher) -> Self[src]

Create new MAC isntance from provided block cipher.

Loading content...

Implementors

Loading content...