36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
/**
* Adds a buffer to the hash to be calculated.
*
* \param buf The buffer which should be included into calculation.
* \param size The size of the buffer
*/
- updateWithBuffer: (const char*)buf
ofSize: (size_t)size;
/**
* \return A buffer containing the hash (OF_MD5_DIGEST_SIZE = 16 bytes).
* The buffer is part of object's memory pool.
*/
- (uint8_t*)digest;
@end
|
|
|
|
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
/**
* Adds a buffer to the hash to be calculated.
*
* \param buf The buffer which should be included into calculation.
* \param size The size of the buffer
*/
- (void)updateWithBuffer: (const char*)buf
ofSize: (size_t)size;
/**
* \return A buffer containing the hash (OF_MD5_DIGEST_SIZE = 16 bytes).
* The buffer is part of object's memory pool.
*/
- (uint8_t*)digest;
@end
|
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
/**
* Adds a buffer to the hash to be calculated.
*
* \param buf The buffer which should be included into calculation.
* \param size The size of the buffer
*/
- updateWithBuffer: (const char*)buf
ofSize: (size_t)size;
/**
* \return A buffer containing the hash (OF_SHA1_DIGEST_SIZE = 20 bytes).
* The buffer is part of object's memory pool.
*/
- (uint8_t*)digest;
@end
|
|
|
|
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
/**
* Adds a buffer to the hash to be calculated.
*
* \param buf The buffer which should be included into calculation.
* \param size The size of the buffer
*/
- (void)updateWithBuffer: (const char*)buf
ofSize: (size_t)size;
/**
* \return A buffer containing the hash (OF_SHA1_DIGEST_SIZE = 20 bytes).
* The buffer is part of object's memory pool.
*/
- (uint8_t*)digest;
@end
|