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

LRDecryption Class Template Reference

Luby-Rackoff Decryptor. More...

#include <lubyrack.h>

Inheritance diagram for LRDecryption:

LRBase BlockTransformation VariableKeyLength List of all members.

Public Methods

 LRDecryption (const byte *userKey,int keyLen=LRBase< T >::DEFAULT_KEYLENGTH)
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

template<class T> class LRDecryption

Luby-Rackoff Decryptor.

Definition at line 46 of file lubyrack.h.


Constructor & Destructor Documentation

template<class T>
LRDecryption<T>::LRDecryption<T> ( const byte * userKey,
int keyLen = LRBase<T>::DEFAULT_KEYLENGTH ) [inline]
 

Definition at line 50 of file lubyrack.h.


Member Function Documentation

template<class T>
void LRDecryption< T >::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 97 of file lubyrack.h.

template<class T>
void LRDecryption<T>::ProcessBlock ( byte * inoutBlock ) const [inline, virtual]
 

encrypt or decrypt one block in place.

Precondition:
size of inoutBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 53 of file lubyrack.h.


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