A simple checksum digest function.
More...
#include <digest.h>
|
int | overflow (int c) |
|
std::ostream & | strDigest (std::ostream &os) |
|
| Digest () |
|
virtual unsigned | getSize (void)=0 |
| Get the size of a digest in octets.
|
|
virtual unsigned | getDigest (unsigned char *buffer)=0 |
| Copy the binary digest buffer to user memory.
|
|
virtual void | putDigest (const unsigned char *buffer, unsigned length)=0 |
| Put data into the digest bypassing the stream subsystem.
|
|
virtual std::ostream & | strDigest (std::ostream &os)=0 |
| print a digest string for export.
|
|
A simple checksum digest function.
- Author
- David Sugar dyfet.nosp@m.@ost.nosp@m.el.co.nosp@m.m
checksum hash function.
◆ ChecksumDigest()
ost::ChecksumDigest::ChecksumDigest |
( |
| ) |
|
◆ getDigest()
unsigned ost::ChecksumDigest::getDigest |
( |
unsigned char * |
buffer | ) |
|
|
virtual |
◆ getSize()
unsigned ost::ChecksumDigest::getSize |
( |
void |
| ) |
|
|
inlinevirtual |
◆ initDigest()
void ost::ChecksumDigest::initDigest |
( |
void |
| ) |
|
|
inlinevirtual |
◆ overflow()
int ost::ChecksumDigest::overflow |
( |
int |
c | ) |
|
|
protected |
◆ putDigest()
void ost::ChecksumDigest::putDigest |
( |
const unsigned char * |
buffer, |
|
|
unsigned |
length |
|
) |
| |
|
virtual |
◆ strDigest()
std::ostream & ost::ChecksumDigest::strDigest |
( |
std::ostream & |
os | ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file: