HMAC over GOST R 34.11-94 hash function
authentication key bytes
message bytes to authenticate
Authentication tag bytes.
import { gost341194hmac } from "@li0ard/gost/hmac.js";const key = new Uint8Array([1, 2, 3]);const message = new Uint8Array([4, 5, 6]);const mac = gost341194hmac(key, message); Copy
import { gost341194hmac } from "@li0ard/gost/hmac.js";const key = new Uint8Array([1, 2, 3]);const message = new Uint8Array([4, 5, 6]);const mac = gost341194hmac(key, message);
HMAC over GOST R 34.11-94 hash function