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

MARSDecryption Class Reference

MARS. More...

#include <mars.h>

Inheritance diagram for MARSDecryption:

MARS FixedBlockSize VariableKeyLength BlockTransformation List of all members.

Public Methods

 MARSDecryption (const byte *userKey,unsigned int keylength=DEFAULT_KEYLENGTH)
void ProcessBlock (const byte *inBlock,byte *outBlock)const
 encrypt or decrypt one block, may assume inBlock != outBlock. More...

void ProcessBlock (byte *inoutBlock)const
 encrypt or decrypt one block in place. More...


Detailed Description

MARS.

Definition at line 36 of file mars.h.


Constructor & Destructor Documentation

MARSDecryption::MARSDecryption ( const byte * userKey,
unsigned int keylength = DEFAULT_KEYLENGTH ) [inline]
 

Definition at line 39 of file mars.h.


Member Function Documentation

void MARSDecryption::ProcessBlock ( byte * inoutBlock ) const [inline, virtual]
 

encrypt or decrypt one block in place.

Precondition:
size of inoutBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 43 of file mars.h.

void MARSDecryption::ProcessBlock ( const byte * inBlock,
byte * outBlock ) const [virtual]
 

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

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

Reimplemented from BlockTransformation.

Definition at line 166 of file mars.cpp.


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