websCalcDigestGoAhead WebServer APIGoAhead EMF

Synopsis

Generate an RSA Data Security, Inc. MD5 Message-Digest Algorithm digest for digest authentication purposes.

Prototype

 #include "websda.h"

 char_t *websCalcDigest(webs_t wp);

Parameters

wppointer to a websRec data structure

Description

The returned string must be deleted using bfree.

Return Value

websCalcDigest returns a pointer to a new copy of a digest string, or NULL on an error.

Example

char_t * digest = websCalcDigest(wp);

See Also

websCalcNonce(), bfree()