Files
zyt/identity-admin/.test-runtime/kefu-hash-dependency/node_modules/hash-wasm/dist/lib/hmac.d.ts
T
2026-11-11 14:22:02 +08:00

9 lines
364 B
TypeScript

import type { IHasher } from "./WASMInterface";
import { type IDataType } from "./util";
/**
* Calculates HMAC hash
* @param hash Hash algorithm to use. It has to be the return value of a function like createSHA1()
* @param key Key (string, Buffer or TypedArray)
*/
export declare function createHMAC(hash: Promise<IHasher>, key: IDataType): Promise<IHasher>;