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

CAST128Encryption Class Reference

CAST-128. More...

#include <cast.h>

Inheritance diagram for CAST128Encryption:

CAST128 FixedBlockSize VariableKeyLength BlockTransformation List of all members.

Public Methods

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

CAST-128.

Definition at line 30 of file cast.h.


Constructor & Destructor Documentation

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

Definition at line 33 of file cast.h.


Member Function Documentation

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

encrypt or decrypt one block in place.

Precondition:
size of inoutBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 37 of file cast.h.

void CAST128Encryption::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 33 of file cast.cpp.


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