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

LREncryption Class Template Reference

Luby-Rackoff Encryptor. More...

#include <lubyrack.h>

Inheritance diagram for LREncryption:

LRBase BlockTransformation VariableKeyLength List of all members.

Public Methods

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

Luby-Rackoff Encryptor.

Definition at line 32 of file lubyrack.h.


Constructor & Destructor Documentation

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

Definition at line 36 of file lubyrack.h.


Member Function Documentation

template<class T>
void LREncryption< 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 74 of file lubyrack.h.

template<class T>
void LREncryption<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 39 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