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

MARSEncryption Class Reference

MARS. More...

#include <mars.h>

Inheritance diagram for MARSEncryption:

MARS FixedBlockSize VariableKeyLength BlockTransformation List of all members.

Public Methods

 MARSEncryption (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 24 of file mars.h.


Constructor & Destructor Documentation

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

Definition at line 27 of file mars.h.


Member Function Documentation

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

encrypt or decrypt one block in place.

Precondition:
size of inoutBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 31 of file mars.h.

void MARSEncryption::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 123 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