@li0ard/streebog
Version:
Streebog hash function in pure TypeScript
14 lines (13 loc) • 486 B
TypeScript
import { _HMAC } from "@noble/hashes/hmac.js";
import { type Hash } from "@noble/hashes/utils.js";
import { Streebog256, Streebog512 } from "./index.js";
/**
* HMAC implementation for Streebog 256 bit
* @param key Encryption key
*/
export declare const Streebog256HMAC: (key: Uint8Array) => _HMAC<Hash<Streebog256>>;
/**
* HMAC implementation for Streebog 512 bit
* @param key Encryption key
*/
export declare const Streebog512HMAC: (key: Uint8Array) => _HMAC<Hash<Streebog512>>;