UNPKG

ethers

Version:
7 lines (6 loc) 237 B
import { Arrayish } from './bytes'; export declare enum SupportedAlgorithms { sha256 = "sha256", sha512 = "sha512" } export declare function computeHmac(algorithm: SupportedAlgorithms, key: Arrayish, data: Arrayish): Uint8Array;