Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

IteratedHashBase< T, BASE > Class Template Reference

#include <iterhash.h>

Inheritance diagram for IteratedHashBase< T, BASE >:

IteratedHashBase2< T, B, BASE > List of all members.

Detailed Description

template<class T, class BASE>
class IteratedHashBase< T, BASE >


Definition at line 13 of file iterhash.h.

Public Types

typedef T HashWordType

Public Member Functions

unsigned int BlockSize () const
unsigned int OptimalBlockSize () const
unsigned int OptimalDataAlignment () const
void Update (const byte *input, unsigned int length)
byte * CreateUpdateSpace (unsigned int &size)
void Restart ()

Protected Member Functions

void SetBlockSize (unsigned int blockSize)
void SetStateSize (unsigned int stateSize)
GetBitCountHi () const
GetBitCountLo () const
virtual unsigned int HashMultipleBlocks (const T *input, unsigned int length)
void PadLastBlock (unsigned int lastBlockSize, byte padFirst=0x80)
virtual void Init ()=0
virtual void HashBlock (const T *input)=0

Protected Attributes

SecBlock< T > m_data
SecBlock< T > m_digest

The documentation for this class was generated from the following files:
Generated on Wed Jul 21 19:15:56 2004 for Crypto++ by doxygen 1.3.7-20040704