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

DL_EncryptionAlgorithm_Xor< MAC, DHAES_MODE > Class Template Reference

#include <gfpcrypt.h>

Inheritance diagram for DL_EncryptionAlgorithm_Xor< MAC, DHAES_MODE >:

DL_SymmetricEncryptionAlgorithm List of all members.

Detailed Description

template<class MAC, bool DHAES_MODE>
class DL_EncryptionAlgorithm_Xor< MAC, DHAES_MODE >

the XOR encryption method, for use with DL-based cryptosystems

Definition at line 420 of file gfpcrypt.h.

Public Member Functions

bool ParameterSupported (const char *name) const
unsigned int GetSymmetricKeyLength (unsigned int plaintextLength) const
unsigned int GetSymmetricCiphertextLength (unsigned int plaintextLength) const
unsigned int GetMaxSymmetricPlaintextLength (unsigned int ciphertextLength) const
void SymmetricEncrypt (RandomNumberGenerator &rng, const byte *key, const byte *plaintext, unsigned int plaintextLength, byte *ciphertext, const NameValuePairs &parameters) const
DecodingResult SymmetricDecrypt (const byte *key, const byte *ciphertext, unsigned int ciphertextLength, byte *plaintext, const NameValuePairs &parameters) const


The documentation for this class was generated from the following file:
Generated on Fri Aug 27 13:57:30 2004 for Crypto++ by doxygen 1.3.8