wget2  1.0.0
MD5 convenience functions

Functions

void wget_md5_printf_hex (char *digest_hex, const char *fmt,...)
 

Detailed Description

Provides MD5 helper functions

Function Documentation

◆ wget_md5_printf_hex()

void wget_md5_printf_hex ( char *  digest_hex,
const char *  fmt,
  ... 
)
Parameters
[out]digest_hexOutput string buffer
[in]fmtPrintf-like format specifier
[in]...List of arguments

Calculate the hexadecimal MD5 digest from the string generated via the printf-style fmt and the following arguments.

digest_hex must at least have a size of 33 bytes and will be zero terminated. 33 calculates from wget_hash_get_len(WGET_DIGTYPE_MD5) * 2 + 1.