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

GOSTEncryption Class Reference

GOST. More...

#include <gost.h>

Inheritance diagram for GOSTEncryption:

GOST FixedBlockSize FixedKeyLength BlockTransformation List of all members.

Public Methods

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

GOST.

Definition at line 27 of file gost.h.


Constructor & Destructor Documentation

GOSTEncryption::GOSTEncryption ( const byte * userKey,
unsigned int = 0 ) [inline]
 

Definition at line 30 of file gost.h.


Member Function Documentation

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

encrypt or decrypt one block in place.

Precondition:
size of inoutBlock == BlockSize()

Reimplemented from BlockTransformation.

Definition at line 34 of file gost.h.

void GOSTEncryption::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 59 of file gost.cpp.


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