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

ThreeWayEncryption Class Reference

3-Way. More...

#include <3way.h>

Inheritance diagram for ThreeWayEncryption:

FixedBlockSize FixedKeyLength BlockTransformation List of all members.

Public Types

enum  { DEFAULT_ROUNDS = 11 }

Public Methods

 ThreeWayEncryption (const byte *userKey,unsigned int=0,unsigned int rounds=DEFAULT_ROUNDS)
 ~ThreeWayEncryption ()
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 13 of file 3way.h.


Member Enumeration Documentation

anonymous enum
 

Definition at line 16 of file 3way.h.


Constructor & Destructor Documentation

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

Definition at line 66 of file 3way.cpp.

ThreeWayEncryption::~ThreeWayEncryption ( )
 

Definition at line 75 of file 3way.cpp.


Member Function Documentation

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

encrypt or decrypt one block in place.

Precondition:
size of inoutBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 22 of file 3way.h.

void ThreeWayEncryption::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 80 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