Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

OAEP< H, MGF, P, PLen > Class Template Reference

#include <oaep.h>

Inheritance diagram for OAEP< H, MGF, P, PLen >:

PK_EncryptionMessageEncodingMethod EncryptionStandard List of all members.

Detailed Description

template<class H, class MGF = P1363_MGF1, byte * P = OAEP_P_DEFAULT, unsigned int PLen = 0>
class OAEP< H, MGF, P, PLen >

EME-OAEP, for use with RSAES

Definition at line 12 of file oaep.h.

Public Types

typedef OAEP< H, MGF, P, PLen > EncryptionMessageEncodingMethod

Public Member Functions

unsigned int MaxUnpaddedLength (unsigned int paddedLength) const
 max size of unpadded message in bytes, given max size of padded message in bits (1 less than size of modulus)

void Pad (RandomNumberGenerator &rng, const byte *raw, unsigned int inputLength, byte *padded, unsigned int paddedLength) const
DecodingResult Unpad (const byte *padded, unsigned int paddedLength, byte *raw) const

Static Public Member Functions

std::string StaticAlgorithmName ()


The documentation for this class was generated from the following file:
Generated on Mon Apr 19 18:12:43 2004 for Crypto++ by doxygen 1.3.6-20040222