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

Public Methods | |
| LUCELG_Encryptor (const Integer &p,const Integer &g,const Integer &y) | |
| LUCELG_Encryptor (BufferedTransformation &bt) | |
| void | DEREncode (BufferedTransformation &bt)const |
| void | Encrypt (RandomNumberGenerator &rng,const byte *plainText,unsigned int plainTextLength,byte *cipherText) |
| encrypt a byte string. More... | |
| unsigned int | MaxPlainTextLength ()const |
| unsigned int | CipherTextLength ()const |
| const Integer& | GetPrime ()const |
| const Integer& | GetGenerator ()const |
| const Integer& | GetPublicResidue ()const |
Protected Methods | |
| LUCELG_Encryptor () | |
| void | RawEncrypt (const Integer &k,const Integer &m,Integer &a,Integer &b)const |
| unsigned int | ExponentBitLength ()const |
Protected Attributes | |
| Integer | p |
| Integer | g |
| Integer | y |
| unsigned int | modulusLen |
Definition at line 98 of file luc.h.
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from PK_FixedLengthCryptoSystem. |
|
|
|
|
|
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 from PK_Encryptor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from PK_FixedLengthCryptoSystem. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.4 written by Dimitri van Heesch,
© 1997-2000