#include <luc.h>
Inheritance diagram for LUCELG_Decryptor:

Public Methods | |
| LUCELG_Decryptor (const Integer &p,const Integer &g,const Integer &y,const Integer &x) | |
| LUCELG_Decryptor (RandomNumberGenerator &rng,unsigned int pbits) | |
| LUCELG_Decryptor (RandomNumberGenerator &rng,const Integer &p,const Integer &g) | |
| LUCELG_Decryptor (BufferedTransformation &bt) | |
| void | DEREncode (BufferedTransformation &bt)const |
| unsigned int | Decrypt (const byte *cipherText,byte *plainText) |
| decrypt a byte string, and return the length of plaintext. More... | |
Protected Methods | |
| void | RawDecrypt (const Integer &a,const Integer &b,Integer &m)const |
Protected Attributes | |
| Integer | x |
Definition at line 125 of file luc.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from LUCELG_Encryptor. |
|
|
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 from PK_FixedLengthDecryptor. |
|
|
|
|
|
|
1.2.4 written by Dimitri van Heesch,
© 1997-2000