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

TwofishDecryption Class Reference

Twofish. More...

#include <twofish.h>

Inheritance diagram for TwofishDecryption:

Twofish FixedBlockSize VariableKeyLength BlockTransformation List of all members.

Public Methods

 TwofishDecryption (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

Twofish.

Definition at line 40 of file twofish.h.


Constructor & Destructor Documentation

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

Definition at line 43 of file twofish.h.


Member Function Documentation

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

encrypt or decrypt one block in place.

Precondition:
size of inoutBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 47 of file twofish.h.

void TwofishDecryption::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 137 of file twofish.cpp.


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