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

RC2Decryption Class Reference

RC2. More...

#include <rc2.h>

Inheritance diagram for RC2Decryption:

RC2Base FixedBlockSize VariableKeyLength BlockTransformation List of all members.

Public Methods

 RC2Decryption (const byte *key,unsigned int keyLen=DEFAULT_KEYLENGTH,unsigned int effectiveLen=1024)
void ProcessBlock (byte *inoutBlock)const
 encrypt or decrypt one block in place. More...

void ProcessBlock (const byte *inBlock,byte *outBlock)const
 encrypt or decrypt one block, may assume inBlock != outBlock. More...


Detailed Description

RC2.

Definition at line 39 of file rc2.h.


Constructor & Destructor Documentation

RC2Decryption::RC2Decryption ( const byte * key,
unsigned int keyLen = DEFAULT_KEYLENGTH,
unsigned int effectiveLen = 1024 ) [inline]
 

Definition at line 42 of file rc2.h.


Member Function Documentation

void RC2Decryption::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 81 of file rc2.cpp.

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

encrypt or decrypt one block in place.

Precondition:
size of inoutBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 45 of file rc2.h.


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