A base class for classes providing hash functions.
More...
#include <OFHash.h>
List of all members.
Detailed Description
A base class for classes providing hash functions.
Member Function Documentation
size_t OFHash::blockSize |
( |
| ) |
[static, virtual] |
- Returns:
- The block size of the hash, in byte.
uint8_t * OFHash::digest |
( |
| ) |
[virtual] |
- Returns:
- A buffer containing the hash. The size of the buffer is depending on the hash used. The buffer is part of object's memory pool.
size_t OFHash::digestSize |
( |
| ) |
[static, virtual] |
- Returns:
- The digest size of the hash, in byte.
BOOL OFHash::isCalculated |
( |
| ) |
[virtual] |
- Returns:
- A boolean whether the hash has already been calculated
void OFHash::updateWithBuffer:ofSize: |
( |
const char* |
buf, |
|
|
[ofSize] size_t |
size |
|
) |
| [virtual] |
Adds a buffer to the hash to be calculated.
- Parameters:
-
buf | The buffer which should be included into the calculation. |
size | The size of the buffer |
The documentation for this class was generated from the following files: