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

SquareEncryption Class Reference

Square. More...

#include <square.h>

Inheritance diagram for SquareEncryption:

SquareBase FixedBlockSize FixedKeyLength BlockTransformation List of all members.

Public Methods

 SquareEncryption (const byte *key,unsigned int=0)
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

Square.

Definition at line 27 of file square.h.


Constructor & Destructor Documentation

SquareEncryption::SquareEncryption ( const byte * key,
unsigned int = 0 ) [inline]
 

Definition at line 30 of file square.h.


Member Function Documentation

void SquareEncryption::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 120 of file square.cpp.

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

encrypt or decrypt one block in place.

Precondition:
size of inoutBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 32 of file square.h.


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