get_digest


Description:

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

Gets the digest from this as a raw binary vector and places it into buffer.

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

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

Parameters:

this

a Checksum

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.