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

Public Methods | |
| virtual unsigned int | Decrypt (const byte *cipherText,byte *plainText)=0 |
| decrypt a byte string, and return the length of plaintext. More... | |
| unsigned int | Decrypt (const byte *cipherText,unsigned int cipherTextLength,byte *plainText) |
| decrypt a byte string, and return the length of plaintext. More... | |
Definition at line 539 of file cryptlib.h.
|
|
decrypt a byte string, and return the length of plaintext. Precondition: size of plainText == MaxPlainTextLength(cipherTextLength) bytes. The function returns the actual length of the plaintext, or 0 if decryption fails. Reimplemented from PK_Decryptor. Definition at line 463 of file cryptlib.cpp. |
|
|
decrypt a byte string, and return the length of plaintext. Preconditions: \begin{itemize} \item length of cipherText == CipherTextLength() \item size of plainText == MaxPlainTextLength() \end{itemize} The function returns the actual length of the plaintext, or 0 if decryption fails. Reimplemented in ElGamalDecryptor, LUCELG_Decryptor, and DecryptorTemplate. Referenced by Decrypt(). |
1.2.4 written by Dimitri van Heesch,
© 1997-2000