HMAC over GOST 34.311-95 hash function
authentication key bytes
Authentication tag bytes.
import { gost3431195Hmac } from "@li0ard/dstu/dstu9311.js";const key = new Uint8Array([1, 2, 3]);const message = new Uint8Array([4, 5, 6]);const mac = gost3431195Hmac(key, message); Copy
import { gost3431195Hmac } from "@li0ard/dstu/dstu9311.js";const key = new Uint8Array([1, 2, 3]);const message = new Uint8Array([4, 5, 6]);const mac = gost3431195Hmac(key, message);
HMAC over GOST 34.311-95 hash function