The digest base class is used for implementing and deriving one way hashing functions.
More...
#include <digest.h>
|
| Digest () |
|
virtual unsigned | getSize (void)=0 |
| Get the size of a digest in octets. More...
|
|
virtual unsigned | getDigest (unsigned char *buffer)=0 |
| Copy the binary digest buffer to user memory. More...
|
|
virtual void | putDigest (const unsigned char *buffer, unsigned length)=0 |
| Put data into the digest bypassing the stream subsystem. More...
|
|
virtual std::ostream & | strDigest (std::ostream &os)=0 |
| print a digest string for export. More...
|
|
The digest base class is used for implementing and deriving one way hashing functions.
- Author
- David Sugar dyfet.nosp@m.@ost.nosp@m.el.co.nosp@m.m base class for hashing services.
Definition at line 70 of file digest.h.
virtual Digest::~Digest |
( |
| ) |
|
|
virtual |
virtual unsigned Digest::getDigest |
( |
unsigned char * |
buffer | ) |
|
|
protectedpure virtual |
virtual unsigned Digest::getSize |
( |
void |
| ) |
|
|
protectedpure virtual |
virtual void Digest::initDigest |
( |
void |
| ) |
|
|
pure virtual |
virtual void Digest::putDigest |
( |
const unsigned char * |
buffer, |
|
|
unsigned |
length |
|
) |
| |
|
protectedpure virtual |
virtual std::ostream& Digest::strDigest |
( |
std::ostream & |
os | ) |
|
|
protectedpure virtual |
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
Digest & |
ia |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: