|
|
The digest base class is used for implementing and deriving one way hashing functions.
Digest ()
| Digest |
[protected]
void initDigest (void)
| initDigest |
[protected pure virtual]
Reset the digest table to an initial default value.
unsigned getSize (void)
| getSize |
[protected pure virtual]
Get the size of a digest in octets.
Returns: number of bytes in digest.
unsigned getDigest (unsigned char *buffer)
| getDigest |
[protected pure virtual]
Copy the binary digest buffer to user memory.
Parameters:
buffer | to write into. |
Returns: number of bytes in digest.
void putDigest (unsigned char *buffer, unsigned length)
| putDigest |
[protected pure virtual]
Put data into the digest bypassing the stream subsystem.
Parameters:
buffer | to read from. |
length | of data. |
std::ostream & strDigest (std::ostream &os)
| strDigest |
[protected pure virtual]
print a digest string for export.
Returns: string representation of digest.
friend std::ostream & operator<< (std::ostream &os, Digest &ia)
| operator<< |
[protected]