md5.h
changeset 4320 5cb29aa480cc
parent 2436 7d5df545bd5d
child 4434 a08cb4b5c179
equal deleted inserted replaced
4319:b4c237cf69c1 4320:5cb29aa480cc
    79 
    79 
    80 /* Initialize the algorithm. */
    80 /* Initialize the algorithm. */
    81 void md5_init(md5_state_t *pms);
    81 void md5_init(md5_state_t *pms);
    82 
    82 
    83 /* Append a string to the message. */
    83 /* Append a string to the message. */
    84 void md5_append(md5_state_t *pms, const void *data, int nbytes);
    84 void md5_append(md5_state_t *pms, const void *data, size_t nbytes);
    85 
    85 
    86 /* Finish the message and return the digest. */
    86 /* Finish the message and return the digest. */
    87 void md5_finish(md5_state_t *pms, md5_byte_t digest[16]);
    87 void md5_finish(md5_state_t *pms, md5_byte_t digest[16]);
    88 
    88 
    89 #ifdef __cplusplus
    89 #ifdef __cplusplus