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

Allows to create a 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.

methodThe digest method to be used for the resulting output.
contentThe content to digest.
content_sizeThe amount of data to be taken from the input provided.
A hash value that represents the string provided.

References VORTEX_MD5, and VORTEX_SHA1.

Referenced by vortex_tls_get_digest().