MD5 hash generation.
More...
|
GATE_ENCODE_API void | gate_md5_init (gate_md5_t *md5) |
| Initializies a MD5 hash struct.
|
GATE_ENCODE_API void | gate_md5_update (gate_md5_t *md5, void const *databuffer, gate_size_t databufferlength) |
| Feeds bytes to the hash calculation.
|
GATE_ENCODE_API void | gate_md5_finish (gate_md5_t *md5, gate_md5_result_t *resulthashbuffer) |
| Finalizes hash calculation and creates hash results.
|
◆ gate_md5_init()
GATE_ENCODE_API void gate_md5_init |
( |
gate_md5_t * | md5 | ) |
|
Initializies a MD5 hash struct.
- Parameters
-
[in] | md5 | Pointer to MD5 hash struct |
◆ gate_md5_update()
GATE_ENCODE_API void gate_md5_update |
( |
gate_md5_t * | md5, |
|
|
void const * | databuffer, |
|
|
gate_size_t | databufferlength ) |
Feeds bytes to the hash calculation.
- Parameters
-
[in] | md5 | Pointer to MD5 hash struct |
[in] | databuffer | Pointer to data buffer to be added to calculation |
[in] | databufferlength | Length of bytes in databuffer |
◆ gate_md5_finish()
GATE_ENCODE_API void gate_md5_finish |
( |
gate_md5_t * | md5, |
|
|
gate_md5_result_t * | resulthashbuffer ) |
Finalizes hash calculation and creates hash results.
- Parameters
-
[in] | md5 | Pointer to MD5 hash struct |
[out] | resulthashbuffer | Pointer to output hash buffer to be filled with result |