#include <digest.h>
Inheritance diagram for SHADigest< uint_type, blockSizeInBytes >:

Public Member Functions | |
| unsigned | getSize (void)=0 |
| void | putDigest (const unsigned char *buffer, unsigned length) throw (DigestException) |
| std::ostream & | strDigest (std::ostream &os)=0 |
Protected Member Functions | |
| void | initDigest (void) |
| virtual void | processBlock (const unsigned char *buffer)=0 |
| void | padBuffer (unsigned char *buffer) |
| SHADigest () | |
| SHADigest (const SHADigest &other) | |
| SHADigest & | operator= (const SHADigest &other) |
Protected Attributes | |
| unsigned char | tempBlock [blockSizeInBytes] |
| bool | completed |
Generic Class that is the base class of the various SHA*Digest classes.
uint_type == The "Unsigned Integer Type" which is large enough to hold the total length of a given message in bits. For SHA1 and SHA256, this is 64 bits, so we use "uint64";
"blockSizeInBytes" == various SHA digests use different message size blocks - the basic units in which to split a message up in. For example, SHA1 and SHA256 use 512 bit blocks, and so in bytes this is 64.
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
Implements Digest. Implemented in SHA1Digest, and SHA256Digest. |
|
||||||||||
|
Implements Digest. Reimplemented in SHA1Digest, and SHA256Digest. |
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
Implemented in SHA1Digest, and SHA256Digest. |
|
||||||||||||||||
|
Implements Digest. |
|
||||||||||
|
Implements Digest. Implemented in SHA64DigestHelper. |
|
|||||
|
|
|
|||||
|
|
1.3.3