2
0
mirror of synced 2025-02-25 12:35:17 +00:00
ethers.js/utils/hmac.d.ts

7 lines
237 B
TypeScript
Raw Normal View History

import { Arrayish } from './bytes';
2018-08-01 18:05:19 -04:00
export declare enum SupportedAlgorithms {
sha256 = "sha256",
sha512 = "sha512"
}
export declare function computeHmac(algorithm: SupportedAlgorithms, key: Arrayish, data: Arrayish): Uint8Array;