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.


The value of the key as a byte array.


impl Key128Bit

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

Trait Implementations

impl Key for Key128Bit

The key schedule for 128-bit keys.

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