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

SHARKEncryption Class Reference

SHARK-E. More...

#include <shark.h>

Inheritance diagram for SHARKEncryption:

SHARKBase FixedBlockSize VariableKeyLength BlockTransformation List of all members.

Public Methods

 SHARKEncryption (const byte *key,unsigned int keyLen=DEFAULT_KEYLENGTH,unsigned int rounds=DEFAULT_ROUNDS)
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...


Friends

class  SHARKBase

Detailed Description

SHARK-E.

Definition at line 31 of file shark.h.


Constructor & Destructor Documentation

SHARKEncryption::SHARKEncryption ( const byte * key,
unsigned int keyLen = DEFAULT_KEYLENGTH,
unsigned int rounds = DEFAULT_ROUNDS )
 

Definition at line 70 of file shark.cpp.


Member Function Documentation

void SHARKEncryption::ProcessBlock ( const byte * in,
byte * out ) const [virtual]
 

encrypt or decrypt one block, may assume inBlock != outBlock.

Precondition:
size of inBlock and outBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 81 of file shark.cpp.

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

encrypt or decrypt one block in place.

Precondition:
size of inoutBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 36 of file shark.h.


Friends And Related Function Documentation

class SHARKBase [friend]
 

Definition at line 41 of file shark.h.


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