Public Methods |
| | PSSR (unsigned int representativeBitLen) |
| | PSSR (const byte *representative,unsigned int representativeBitLen) |
| | ~PSSR () |
| void | Update (const byte *input,unsigned int length) |
| | process more input. More...
|
| unsigned int | DigestSize ()const |
| | size of the hash returned by Final(). More...
|
| void | Encode (RandomNumberGenerator &rng,byte *representative) |
| bool | Verify (const byte *representative) |
| | verify that digest is a valid digest for the current message, then reinitialize the object. More...
|
| unsigned int | Decode (byte *message) |
| unsigned int | MaximumRecoverableLength ()const |
Static Public Methods |
| unsigned int | MaximumRecoverableLength (unsigned int representativeBitLen) |
| bool | AllowLeftoverMessage () |
Protected Attributes |
| unsigned int | representativeBitLen |
| unsigned int | m1Len |
| H | h |
| SecByteBlock | m1 |
| SecByteBlock | w |
| SecByteBlock | seed |
Static Protected Methods |
| void | EncodeRepresentative (byte *representative,unsigned int representativeBitLen,const byte *w,const byte *seed,const byte *m1,unsigned int m1Len) |
| unsigned int | DecodeRepresentative (const byte *representative,unsigned int representativeBitLen,byte *w,byte *seed,byte *m1) |