A md5 collection/computation accululator class.
More...
|
| MD5Digest () |
|
void | initDigest (void) |
| Reset the digest table to an initial default value. More...
|
|
unsigned | getSize (void) |
| Get the size of a digest in octets. More...
|
|
unsigned | getDigest (unsigned char *buffer) |
| Copy the binary digest buffer to user memory. More...
|
|
void | putDigest (const unsigned char *buffer, unsigned len) |
| Put data into the digest bypassing the stream subsystem. More...
|
|
A md5 collection/computation accululator class.
- Author
- David Sugar dyfet.nosp@m.@ost.nosp@m.el.co.nosp@m.m md5 hash accumulation.
Definition at line 129 of file queue.cpp.
void MD5Digest::commit |
( |
void |
| ) |
|
|
protected |
unsigned MD5Digest::getDigest |
( |
unsigned char * |
buffer | ) |
|
|
virtual |
Copy the binary digest buffer to user memory.
- Returns
- number of bytes in digest.
- Parameters
-
Implements Digest.
Definition at line 411 of file queue.cpp.
unsigned MD5Digest::getSize |
( |
void |
| ) |
|
|
inlinevirtual |
Get the size of a digest in octets.
- Returns
- number of bytes in digest.
Implements Digest.
Definition at line 153 of file queue.cpp.
void MD5Digest::initDigest |
( |
void |
| ) |
|
|
virtual |
Reset the digest table to an initial default value.
Implements Digest.
Definition at line 244 of file queue.cpp.
int MD5Digest::overflow |
( |
int |
c | ) |
|
|
protected |
void MD5Digest::putDigest |
( |
const unsigned char * |
buffer, |
|
|
unsigned |
length |
|
) |
| |
|
virtual |
Put data into the digest bypassing the stream subsystem.
- Parameters
-
buffer | to read from. |
length | of data. |
Implements Digest.
Definition at line 419 of file queue.cpp.
std::ostream & MD5Digest::strDigest |
( |
std::ostream & |
os | ) |
|
|
protectedvirtual |
print a digest string for export.
- Returns
- string representation of digest.
Implements Digest.
Definition at line 432 of file queue.cpp.
void MD5Digest::update |
( |
void |
| ) |
|
|
protected |
unsigned char MD5Digest::buf[64] |
|
private |
unsigned long MD5Digest::count[2] |
|
private |
unsigned char MD5Digest::md5[16] |
|
private |
unsigned long MD5Digest::state[4] |
|
private |
The documentation for this class was generated from the following file: