GLib.Hmac.prototype.get_digest

function get_digest(buffer: Number(guint8), digest_len: Number(gsize)): void {
    // Gjs wrapper for g_hmac_get_digest()
}
  

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 GLib.Hmac is closed and can no longer be updated with GLib.Checksum.prototype.update.

Since 2.30

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