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

MDC Class Template Reference

MDC. More...

#include <mdc.h>

Inheritance diagram for MDC:

FixedBlockSize FixedKeyLength BlockTransformation List of all members.

Public Methods

 MDC (const byte *userKey,unsigned int=0)
void ProcessBlock (byte *inoutBlock)const
 encrypt or decrypt one block in place. More...

void ProcessBlock (const byte *inBlock,byte *outBlock)const
 encrypt or decrypt one block, may assume inBlock != outBlock. More...


Detailed Description

template<class T> class MDC

MDC.

Definition at line 15 of file mdc.h.


Constructor & Destructor Documentation

template<class T>
MDC<T>::MDC<T> ( const byte * userKey,
unsigned int = 0 ) [inline]
 

Definition at line 18 of file mdc.h.


Member Function Documentation

template<class T>
void MDC<T>::ProcessBlock ( const byte * inBlock,
byte * outBlock ) const [inline, virtual]
 

encrypt or decrypt one block, may assume inBlock != outBlock.

Precondition:
size of inBlock and outBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 31 of file mdc.h.

template<class T>
void MDC<T>::ProcessBlock ( byte * inoutBlock ) const [inline, virtual]
 

encrypt or decrypt one block in place.

Precondition:
size of inoutBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 24 of file mdc.h.


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