Trait Mac

Source
pub trait Mac {
    // Required methods
    fn size(&self) -> usize;
    fn etm(&self) -> bool;
}
Expand description

The algorithm parameters for the Message Authentication Code.

Required Methods§

Source

fn size(&self) -> usize

The size of the MAC at the end of the SSH packet.

Source

fn etm(&self) -> bool

Whether the MAC is applied over encrypted data.

Implementors§