Generates the message digest from the data that has been updated to the given SHA-1 context.
#include "husha1.h"
int hu_SHA1DigestGet(sb_Context hashContext, unsigned char *digest, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
The SHA-1 context object.
The message digest buffer. The length (in bytes) of the buffer must be at least SB_SHA1_DIGEST_LEN.
A global context.
Note: This function does not change the state of the context object.
The hashContext object is NULL.
The hashContext object is invalid.
The message digest buffer is NULL.
Success.