#include <blumgold.h>
Inheritance diagram for BlumGoldwasserPrivateKey:

Public Methods | |
| BlumGoldwasserPrivateKey (const Integer &n,const Integer &p,const Integer &q,const Integer &u) | |
| BlumGoldwasserPrivateKey (RandomNumberGenerator &rng,unsigned int keybits) | |
| BlumGoldwasserPrivateKey (BufferedTransformation &bt) | |
| void | DEREncode (BufferedTransformation &bt)const |
| unsigned int | Decrypt (const byte *cipherText,unsigned int cipherTextLength,byte *plainText) |
| decrypt a byte string, and return the length of plaintext. More... | |
Protected Attributes | |
| Integer | p |
| Integer | q |
| Integer | u |
Definition at line 36 of file blumgold.h.
|
|
Definition at line 52 of file blumgold.cpp. |
|
|
Definition at line 61 of file blumgold.cpp. |
|
|
Definition at line 85 of file blumgold.cpp. |
|
|
Reimplemented from BlumGoldwasserPublicKey. Definition at line 100 of file blumgold.cpp. |
|
|
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 110 of file blumgold.cpp. |
|
|
Definition at line 49 of file blumgold.h. |
|
|
Definition at line 49 of file blumgold.h. |
|
|
Definition at line 49 of file blumgold.h. |
1.2.4 written by Dimitri van Heesch,
© 1997-2000