|
Botan
1.10.16
|
Functions | |
| BigInt | fe1_decrypt (const BigInt &n, const BigInt &X0, const SymmetricKey &key, const MemoryRegion< byte > &tweak) |
| BigInt | fe1_encrypt (const BigInt &n, const BigInt &X0, const SymmetricKey &key, const MemoryRegion< byte > &tweak) |
| BigInt BOTAN_DLL Botan::FPE::fe1_decrypt | ( | const BigInt & | n, |
| const BigInt & | X, | ||
| const SymmetricKey & | key, | ||
| const MemoryRegion< byte > & | tweak | ||
| ) |
Decrypt X from and onto the group Z_n using key and tweak
| n | the modulus |
| X | the ciphertext as a BigInt |
| key | is the key used for encryption |
| tweak | the same tweak used for encryption |
Definition at line 166 of file fpe_fe1.cpp.
| BigInt BOTAN_DLL Botan::FPE::fe1_encrypt | ( | const BigInt & | n, |
| const BigInt & | X, | ||
| const SymmetricKey & | key, | ||
| const MemoryRegion< byte > & | tweak | ||
| ) |
Encrypt X from and onto the group Z_n using key and tweak
| n | the modulus |
| X | the plaintext as a BigInt |
| key | a random key |
| tweak | will modify the ciphertext (think of as an IV) |
Definition at line 138 of file fpe_fe1.cpp.
1.8.13