#include <cryptlib.h>
Inheritance diagram for PK_Encryptor:

Public Methods | |
| virtual void | Encrypt (RandomNumberGenerator &rng,const byte *plainText,unsigned int plainTextLength,byte *cipherText)=0 |
| encrypt a byte string. More... | |
An encryptor is also a public encryption key. It contains both the key and the algorithm to perform the encryption.
Definition at line 480 of file cryptlib.h.
|
|
encrypt a byte string. Preconditions: \begin{itemize} \item CipherTextLength(plainTextLength) != 0 (i.e., plainText isn't too long) \item size of cipherText == CipherTextLength(plainTextLength) \end{itemize} Reimplemented in BlumGoldwasserPublicKey, LUCELG_Encryptor, and EncryptorTemplate. |
1.2.4 written by Dimitri van Heesch,
© 1997-2000