Crypto++ 8.7
Free C++ class library of cryptographic schemes
|
PKCS #1 v1.5 Encryption Padding Scheme. More...
#include <pkcspad.h>
Public Member Functions | |
size_t | MaxUnpaddedLength (size_t paddedLength) const |
max size of unpadded message in bytes, given max size of padded message in bits (1 less than size of modulus) More... | |
void | Pad (RandomNumberGenerator &rng, const byte *raw, size_t inputLength, byte *padded, size_t paddedLength, const NameValuePairs ¶meters) const |
DecodingResult | Unpad (const byte *padded, size_t paddedLength, byte *raw, const NameValuePairs ¶meters) const |
Static Public Member Functions | |
static const char * | StaticAlgorithmName () |
PKCS #1 v1.5 Encryption Padding Scheme.
|
inlinestatic |
|
virtual |
max size of unpadded message in bytes, given max size of padded message in bits (1 less than size of modulus)
Implements PK_EncryptionMessageEncodingMethod.
Definition at line 58 of file pkcspad.cpp.
|
virtual |
Implements PK_EncryptionMessageEncodingMethod.
Definition at line 63 of file pkcspad.cpp.
|
virtual |
Implements PK_EncryptionMessageEncodingMethod.
Definition at line 86 of file pkcspad.cpp.