rwadurian/tools/mnemonic-test/node_modules/hash-wasm/dist/lib/hmac.d.ts

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>;