get_digest


Description:

public void get_digest (uint8[] buffer, ref size_t digest_len)

Gets the digest from checksum as a raw binary array and places it into buffer.

The size of the digest depends on the type of checksum.

Once this function has been called, the Hmac is closed and can no longer be updated with update.

Parameters:

this

a Hmac

buffer

output buffer

digest_len

an inout parameter. The caller initializes it to the size of buffer. After the call it contains the length of the digest