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

SapphireHash Class Reference

Sapphire Hash. More...

#include <sapphire.h>

Inheritance diagram for SapphireHash:

HashModule SapphireEncryption List of all members.

Public Methods

 SapphireHash (unsigned int hashLength=20)
void Update (const byte *input,unsigned int length)
 process more input. More...

void Final (byte *hash)
void Final (byte *hash,unsigned int overrideHashLength)
unsigned int DigestSize ()const
 size of the hash returned by Final(). More...


Detailed Description

Sapphire Hash.

Digest Length = 160 bits

Definition at line 100 of file sapphire.h.


Constructor & Destructor Documentation

SapphireHash::SapphireHash ( unsigned int hashLength = 20 )
 

Definition at line 127 of file sapphire.cpp.


Member Function Documentation

unsigned int SapphireHash::DigestSize ( ) const [inline, virtual]
 

size of the hash returned by Final().

Reimplemented from HashModule.

Definition at line 107 of file sapphire.h.

void SapphireHash::Final ( byte * hash,
unsigned int overrideHashLength )
 

Definition at line 155 of file sapphire.cpp.

void SapphireHash::Final ( byte * hash ) [inline, virtual]
 

Reimplemented from HashModule.

Definition at line 105 of file sapphire.h.

void SapphireHash::Update ( const byte * input,
unsigned int length ) [virtual]
 

process more input.

Reimplemented from HashModule.

Definition at line 149 of file sapphire.cpp.


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