Struct present::Key80Bit [] [src]

pub struct Key80Bit {
    pub value: [u8; 10],
}

An 80-bit key.

The paper introduces two key lengths: 80-bit and 128-bit. This struct represents an 80-bit key and implements the appropriate key schedule.

Fields

The value of the key as a byte array.

Methods

impl Key80Bit
[src]

Constructs a new 80-bit key from the given bytes.

Trait Implementations

impl Key for Key80Bit
[src]

The key schedule for 80-bit keys.

This function generates 32 round keys that are derived from the value of this key.