Public Member Functions | Protected Attributes

OFHash Class Reference

A base class for classes providing hash functions. More...

#import <OFHash.h>

Inheritance diagram for OFHash:
OFObject OFMD5Hash OFSHA1Hash

List of all members.

Public Member Functions

(void) - updateWithBuffer:ofSize:
(uint8_t *) - digest
(BOOL) - isCalculated

Protected Attributes

BOOL isCalculated

Detailed Description

A base class for classes providing hash functions.


Member Function Documentation

- (uint8_t *) digest  
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.
- (BOOL) isCalculated  
Returns:
A boolean whether the hash has already been calculated
- (void) updateWithBuffer: (const char*)  buf
ofSize: (size_t)  size 

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:
 All Classes Functions Variables