char * myqtt_tls_get_digest ( MyQttDigestMethod  method,
const char *  string 
)

Allows to create a digest from the provided string.

Parameters
stringThe string to digest.
methodThe digest method to be used for the resulting output.
Returns
A hash value that represents the string provided.

References myqtt_tls_get_digest_sized().