Struct present::Key128Bit [] [src]

pub struct Key128Bit {
    pub value: [u8; 16],
}

A 128-bit key.

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

Fields

The value of the key as a byte array.

Methods

impl Key128Bit
[src]

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

Trait Implementations

impl Key for Key128Bit
[src]

The key schedule for 128-bit keys.

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