char * vortex_tls_get_digest_sized ( VortexDigestMethod  method,
const char *  content,
int  content_size 
)

Allows to create an MD5 digest from the provided string, configuring the size of the string to be calculated.

This function performs the same action as vortex_tls_get_digest, but allowing to configure the size of the input buffer to be used to configure the resulting digest.

Parameters:
method The digest method to be used for the resulting output.
content The content to digest.
content_size The amount of data to be taken from the input provided.
Returns:
A hash value that represents the string provided.