#include <cryptlib.h>
Inheritance diagram for PK_FixedLengthCryptoSystem:
A simplified interface is provided for crypto systems (such as RSA) whose ciphertext length and maximum plaintext length depend only on the key.
Definition at line 1147 of file cryptlib.h.
Public Member Functions | |
virtual unsigned int | FixedMaxPlaintextLength () const =0 |
virtual unsigned int | FixedCiphertextLength () const =0 |
unsigned int | MaxPlaintextLength (unsigned int cipherTextLength) const |
maximum length of plaintext for a given ciphertext length | |
unsigned int | CiphertextLength (unsigned int plainTextLength) const |
calculate length of ciphertext given length of plaintext |
|
maximum length of plaintext for a given ciphertext length
Implements PK_CryptoSystem. Definition at line 593 of file cryptlib.cpp. References MaxPlaintextLength(). Referenced by MaxPlaintextLength(). |
|
calculate length of ciphertext given length of plaintext
Implements PK_CryptoSystem. Definition at line 601 of file cryptlib.cpp. References CiphertextLength(). Referenced by CiphertextLength(). |