2
0
mirror of synced 2025-02-24 20:18:07 +00:00
ethers.js/utils/hmac.d.ts

4 lines
211 B
TypeScript

import { Arrayish } from './bytes';
export declare type SupportedAlgorithms = 'sha256' | 'sha512';
export declare function computeHmac(algorithm: SupportedAlgorithms, key: Arrayish, data: Arrayish): Uint8Array;