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

IteratedHash Class Template Reference

. More...

#include <iterhash.h>

Inheritance diagram for IteratedHash:

IteratedHashBase HashModule HAVAL MD5 MD5MAC PanamaHash RIPEMD160 SHA SHA256 SHA384 SHA512 Tiger XMACC List of all members.

Public Types

typedef T HashWordType
enum  { HIGHFIRST = H, BLOCKSIZE = S }

Public Methods

 IteratedHash (unsigned int digestSize)
void Final (byte *hash)

Static Public Methods

void CorrectEndianess (HashWordType *out,const HashWordType *in,unsigned int byteCount)

Protected Methods

void HashBlock (const HashWordType *input)
virtual void vTransform (const HashWordType *data)=0

Detailed Description

template<class T, bool H, unsigned int S> class IteratedHash

.

Definition at line 39 of file iterhash.h.


Member Typedef Documentation

template<class T, bool H, unsigned int S>
typedef T IteratedHash<T, H, S>::HashWordType
 

Reimplemented from IteratedHashBase.

Definition at line 42 of file iterhash.h.


Member Enumeration Documentation

template<class T, bool H, unsigned int S>
anonymous enum
 

Definition at line 43 of file iterhash.h.


Constructor & Destructor Documentation

template<class T, bool H, unsigned int S>
IteratedHash<T, H, S>::IteratedHash<T, H, S> ( unsigned int digestSize ) [inline]
 

Definition at line 45 of file iterhash.h.


Member Function Documentation

template<class T, bool H, unsigned int S>
void IteratedHash<T, H, S>::CorrectEndianess ( HashWordType * out,
const HashWordType * in,
unsigned int byteCount ) [inline, static]
 

Definition at line 47 of file iterhash.h.

template<class T, bool H, unsigned int S>
void IteratedHash<T, H, S>::Final ( byte * mac ) [inline, virtual]
 

Reimplemented from HashModule.

Definition at line 55 of file iterhash.h.

template<class T, bool H, unsigned int S>
void IteratedHash<T, H, S>::HashBlock ( const HashWordType * input ) [inline, protected]
 

Definition at line 71 of file iterhash.h.


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