Trait ssh_packet::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§