ethers.js/packages/sha2/lib.esm/sha2.d.ts

7 lines
413 B
TypeScript
Raw Permalink Normal View History

2020-11-16 23:07:24 -05: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=sha2.d.ts.map