|
libcommonc++
0.7
|
A class for generating SHA-1 digests. More...
#include <SHA1Digest.h++>


Public Member Functions | |
| SHA1Digest () | |
| Construct a new SHA1Digest. More... | |
| virtual | ~SHA1Digest () |
| Destructor. More... | |
| virtual size_t | size () const |
| Return the size of the digest generated by this class, in bytes. More... | |
| virtual void | update (const byte_t *buf, size_t len) |
| Update the digest with more data. More... | |
| virtual void | finish (byte_t *digest) |
| Finish generating the digest. More... | |
| virtual void | reset () |
| Reset the object for a new digest. More... | |
A class for generating SHA-1 digests.
| SHA1Digest | ( | ) |
Construct a new SHA1Digest.
|
virtual |
Destructor.
|
virtual |
|
virtual |
Reset the object for a new digest.
Implements Digest.
|
inlinevirtual |
Return the size of the digest generated by this class, in bytes.
Implements Digest.
|
virtual |
Update the digest with more data.
| buf | A pointer to the data. |
| len | The length of the data. |
| IOException | If the maximum length of data that this class can compute a digest for would be exceeded by this call. |
Implements Digest.