Struct fpe::ff1::FF1[][src]

pub struct FF1<CIPH: BlockCipher> { /* fields omitted */ }
Expand description

A struct for performing FF1 encryption and decryption operations.

Implementations

Creates a new FF1 object for the given key and radix.

Returns an error if the given radix is not in [2..2^16].

Encrypts the given numeral string.

Returns an error if the numeral string is not in the required radix.

Decrypts the given numeral string.

Returns an error if the numeral string is not in the required radix.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.