OFMD5Hash Class Reference

#import <OFHashes.h>

Inheritance diagram for OFMD5Hash:
OFObject

List of all members.

Public Member Functions

(id) - updateWithBuffer:ofSize:
(uint8_t *) - digest

Static Public Member Functions

(id) + md5Hash

Protected Attributes

uint32_t buf [4]
uint32_t bits [2]
uint8_t in [64]
BOOL calculated

Detailed Description

The OFMD5Hash class provides functions to create an MD5 hash.


Member Function Documentation

- (uint8_t *) digest  
Returns:
A buffer containing the hash (OF_MD5_DIGEST_SIZE = 16 bytes). The buffer is part of object's memory pool.
+ (id) md5Hash  
Returns:
A new autoreleased MD5 Hash
- (id) 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 calculation.
size The size of the buffer

The documentation for this class was generated from the following files:
 All Classes Functions Variables

Generated on Thu Dec 24 11:10:00 2009 for ObjFW by  doxygen 1.6.1