md5.h
changeset 1884 804ff5f94ed0
parent 915 d845fe7cf6f2
child 2186 db48cf29b983
equal deleted inserted replaced
1883:ad68cd0a0a25 1884:804ff5f94ed0
    77 
    77 
    78 /* Initialize the algorithm. */
    78 /* Initialize the algorithm. */
    79 void md5_init(md5_state_t *pms);
    79 void md5_init(md5_state_t *pms);
    80 
    80 
    81 /* Append a string to the message. */
    81 /* Append a string to the message. */
    82 void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes);
    82 void md5_append(md5_state_t *pms, const void *data, int nbytes);
    83 
    83 
    84 /* Finish the message and return the digest. */
    84 /* Finish the message and return the digest. */
    85 void md5_finish(md5_state_t *pms, md5_byte_t digest[16]);
    85 void md5_finish(md5_state_t *pms, md5_byte_t digest[16]);
    86 
    86 
    87 #ifdef __cplusplus
    87 #ifdef __cplusplus