Crypto++
5.6.4
Free C++ class library of cryptographic schemes
|
PSSR Message Encoding Method interface. More...
Public Member Functions | |
size_t | MinRepresentativeBitLength (size_t hashIdentifierLength, size_t digestLength) const |
size_t | MaxRecoverableLength (size_t representativeBitLength, size_t hashIdentifierLength, size_t digestLength) const |
bool | IsProbabilistic () const |
bool | AllowNonrecoverablePart () const |
bool | RecoverablePartFirst () const |
void | ComputeMessageRepresentative (RandomNumberGenerator &rng, const byte *recoverableMessage, size_t recoverableMessageLength, HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, byte *representative, size_t representativeBitLength) const |
DecodingResult | RecoverMessageFromRepresentative (HashTransformation &hash, HashIdentifier hashIdentifier, bool messageEmpty, byte *representative, size_t representativeBitLength, byte *recoverableMessage) const |