WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

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

◆ pj_md5_final()

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.

References PJ_END_DECL.

◆ pj_md5_init()

void pj_md5_init ( pj_md5_context pms)

Initialize the algorithm.

Parameters
pmsMD5 context.

◆ pj_md5_update()

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.