BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJLIB-UTIL Reference

Data Structures

struct  pj_md5_context
 

Functions

void pj_md5_init (pj_md5_context *pms)
 
void pj_md5_update (pj_md5_context *pms, const pj_uint8_t *data, unsigned nbytes)
 
void pj_md5_final (pj_md5_context *pms, pj_uint8_t digest[16])
 

Detailed Description

Function Documentation

void pj_md5_final ( pj_md5_context pms,
pj_uint8_t  digest[16] 
)

Finish the message and return the digest.

Parameters
pmsMD5 context.
digest16 byte digest.
void pj_md5_init ( pj_md5_context pms)

Initialize the algorithm.

Parameters
pmsMD5 context.
void pj_md5_update ( pj_md5_context pms,
const pj_uint8_t data,
unsigned  nbytes 
)

Append a string to the message.

Parameters
pmsMD5 context.
dataData.
nbytesLength of data.

 


PJLIB-UTIL Open Source, small footprint, and portable asynchronous/caching DNS resolver, text scanner, STUN client, and XML library
Copyright (C) 2006-2009 Teluu Inc.