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