ethers.js/packages/sha2/lib/browser-sha2.d.ts

7 lines
421 B
TypeScript
Raw Normal View History

2020-11-17 07:07:24 +03:00
import { BytesLike } from "@ethersproject/bytes";
import { SupportedAlgorithm } from "./types";
export declare function ripemd160(data: BytesLike): string;
export declare function sha256(data: BytesLike): string;
export declare function sha512(data: BytesLike): string;
export declare function computeHmac(algorithm: SupportedAlgorithm, key: BytesLike, data: BytesLike): string;
//# sourceMappingURL=browser-sha2.d.ts.map