10 lines
421 B
TypeScript
10 lines
421 B
TypeScript
import { BytesLike } from '@ethersproject/bytes';
|
|
export declare enum SupportedAlgorithm {
|
|
sha256 = "sha256",
|
|
sha512 = "sha512"
|
|
}
|
|
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;
|