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

SerpentEncryption Class Reference

Serpent. More...

#include <serpent.h>

Inheritance diagram for SerpentEncryption:

Serpent FixedBlockSize VariableKeyLength BlockTransformation List of all members.

Public Methods

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

Serpent.

Definition at line 22 of file serpent.h.


Constructor & Destructor Documentation

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

Definition at line 25 of file serpent.h.


Member Function Documentation

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

encrypt or decrypt one block in place.

Precondition:
size of inoutBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 29 of file serpent.h.

void SerpentEncryption::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 482 of file serpent.cpp.


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