#include <pmd4.h>
Inheritance diagram for P::MD4Digest:

Public Types | |
| enum | { DIGEST_SIZE = 16, BLOCK_SIZE = 64, BLOCK_WORDS = 16, HASH_WORDS = 4 } |
Public Member Functions | |
| MD4Digest () | |
| MD4Digest (const MD4Digest &dig) | |
| ~MD4Digest () | |
| virtual void | update (const char *buff, size_t len) |
| Update digest sum. | |
| virtual std::string | digest () const |
| Get the current digest. | |
| virtual void | clear () |
| Clear the digest. | |
| MD4Digest & | operator= (const MD4Digest &dig) |
Definition at line 34 of file pmd4.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Clear the digest. Reinitializes the digest object. Wipes out current object state and reinitializes it with the magic values. After that you can calculate another digest using update(). Implements P::Digest. |
|
|
Get the current digest. Retrieves the current digest sum as a string. The method does not wipe out the current object state, if you want to re-use the object to calculate another sum call clear().
Implements P::Digest. |
|
|
|
|
||||||||||||
|
Update digest sum. Updates the digest. The method may be called many times before the digest string is being retrieved with digest().
Implements P::Digest. |
1.3.3