ethers.js/packages/sha2/lib.esm/sha2.d.ts
2020-11-16 23:07:24 -05:00

7 lines
379 B
TypeScript

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;