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

ThreeWayDecryption Class Reference

3-Way. More...

#include <3way.h>

Inheritance diagram for ThreeWayDecryption:

FixedBlockSize FixedKeyLength BlockTransformation List of all members.

Public Types

enum  { DEFAULT_ROUNDS = 11 }

Public Methods

 ThreeWayDecryption (const byte *userKey,unsigned int=0,unsigned int rounds=DEFAULT_ROUNDS)
 ~ThreeWayDecryption ()
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

3-Way.

Definition at line 32 of file 3way.h.


Member Enumeration Documentation

anonymous enum
 

Definition at line 35 of file 3way.h.


Constructor & Destructor Documentation

ThreeWayDecryption::ThreeWayDecryption ( const byte * uk,
unsigned int keylength = 0,
unsigned int rounds = DEFAULT_ROUNDS )
 

Definition at line 117 of file 3way.cpp.

ThreeWayDecryption::~ThreeWayDecryption ( )
 

Definition at line 131 of file 3way.cpp.


Member Function Documentation

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

encrypt or decrypt one block in place.

Precondition:
size of inoutBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 41 of file 3way.h.

void ThreeWayDecryption::ProcessBlock ( const byte * in,
byte * out ) const [virtual]
 

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

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

Reimplemented from BlockTransformation.

Definition at line 136 of file 3way.cpp.


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