Module fpe::ff1

source ·
Expand description

The FF1 algorithm

The FF1 algorithm supports key sizes of 128, 192, and 256 bits. The (maximum possible) length of the tweak is supplied by the caller and is essentially unbounded.

This implementation contains a “context” structure, called FF1, that holds the encryption key, the default tweak, and some other parameters related to the algorithm. Once, this structure has been created, it can be used to encrypt and decrypt data

Structs

  • The FF1 context structure

Functions