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

RC5Encryption Class Reference

RC5. More...

#include <rc5.h>

Inheritance diagram for RC5Encryption:

RC5Base FixedBlockSize VariableKeyLength BlockTransformation List of all members.

Public Methods

 RC5Encryption (const byte *key,unsigned int keyLen=DEFAULT_KEYLENGTH,unsigned int rounds=DEFAULT_ROUNDS)
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

RC5.

Definition at line 28 of file rc5.h.


Constructor & Destructor Documentation

RC5Encryption::RC5Encryption ( const byte * key,
unsigned int keyLen = DEFAULT_KEYLENGTH,
unsigned int rounds = DEFAULT_ROUNDS ) [inline]
 

Definition at line 31 of file rc5.h.


Member Function Documentation

void RC5Encryption::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 36 of file rc5.cpp.

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

encrypt or decrypt one block in place.

Precondition:
size of inoutBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 34 of file rc5.h.


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