ethers.js/lib.esm/crypto/ripemd160.d.ts

25 lines
639 B
TypeScript
Raw Normal View History

2022-09-05 23:57:11 +03:00
import type { BytesLike } from "../utils/index.js";
2022-11-30 23:44:23 +03:00
/**
* Compute the cryptographic RIPEMD-160 hash of %%data%%.
*
2022-12-03 05:27:06 +03:00
* @_docloc: api/crypto:Hash Functions
2022-11-30 23:44:23 +03:00
* @returns DataHexstring
2022-12-10 02:24:58 +03:00
*
* @example:
* ripemd160("0x")
* //_result:
*
* ripemd160("0x1337")
* //_result:
*
* ripemd160(new Uint8Array([ 0x13, 0x37 ]))
* //_result:
*
2022-11-30 23:44:23 +03:00
*/
2022-09-05 23:57:11 +03:00
export declare function ripemd160(_data: BytesLike): string;
export declare namespace ripemd160 {
var _: (data: Uint8Array) => Uint8Array;
var lock: () => void;
var register: (func: (data: Uint8Array) => BytesLike) => void;
}
//# sourceMappingURL=ripemd160.d.ts.map