#include <cryptlib.h>
Inheritance diagram for PK_CryptoSystem:
This class provides an interface common to encryptors and decryptors for querying their plaintext and ciphertext lengths.
Definition at line 1081 of file cryptlib.h.
Public Member Functions | |
virtual unsigned int | MaxPlaintextLength (unsigned int cipherTextLength) const=0 |
maximum length of plaintext for a given ciphertext length | |
virtual unsigned int | CiphertextLength (unsigned int plainTextLength) const=0 |
calculate length of ciphertext given length of plaintext |
|
maximum length of plaintext for a given ciphertext length
Implemented in PK_FixedLengthCryptoSystem. |
|
calculate length of ciphertext given length of plaintext
Implemented in PK_FixedLengthCryptoSystem. |