Trait present::Key [] [src]

pub trait Key {
    fn generate_round_keys(&self) -> [RoundKey; 32];
}

The Key trait.

Any struct implementing this trait can be used as a key for encryption and decryption within this crate.

Required Methods

Generate 32 round keys that will be used for the 32 rounds of the PRESENT algorithm.

Implementors