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) - calculated

Protected Attributes

BOOL calculated

Detailed Description

A base class for classes providing hash functions.


Member Function Documentation

- (BOOL) calculated  
Returns:
A boolean whether the hash has already been calculated
- (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.
- (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
Generated on Sun May 9 16:52:21 2010 for ObjFW by  doxygen 1.6.3