Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

EncryptorTemplate Class Template Reference

. More...

#include <pubkey.h>

Inheritance diagram for EncryptorTemplate:

PK_FixedLengthEncryptor CryptoSystemBaseTemplate PK_Encryptor PK_FixedLengthCryptoSystem PK_FixedLengthCryptoSystem PublicKeyBaseTemplate PK_CryptoSystem PK_CryptoSystem PK_CryptoSystem List of all members.

Public Methods

 ~EncryptorTemplate ()
void Encrypt (RandomNumberGenerator &rng,const byte *plainText,unsigned int plainTextLength,byte *cipherText)
 encrypt a byte string. More...


Protected Methods

 EncryptorTemplate ()

Detailed Description

template<class P, class T> class EncryptorTemplate

.

Definition at line 152 of file pubkey.h.


Constructor & Destructor Documentation

template<class P, class T>
EncryptorTemplate<P, T>::~EncryptorTemplate<P, T> ( ) [inline]
 

Definition at line 155 of file pubkey.h.

template<class P, class T>
EncryptorTemplate<P, T>::EncryptorTemplate<P, T> ( ) [inline, protected]
 

Definition at line 159 of file pubkey.h.


Member Function Documentation

template<class P, class F>
void EncryptorTemplate< P,F >::Encrypt ( RandomNumberGenerator & rng,
const byte * plainText,
unsigned int plainTextLength,
byte * cipherText ) [virtual]
 

encrypt a byte string.

Preconditions: \begin{itemize} \item CipherTextLength(plainTextLength) != 0 (i.e., plainText isn't too long) \item size of cipherText == CipherTextLength(plainTextLength) \end{itemize}

Reimplemented from PK_Encryptor.

Definition at line 29 of file pubkey.cpp.


The documentation for this class was generated from the following files:
Generated at Mon Jan 15 01:16:48 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000