ripemd160.d.ts 639 B

12345678910111213141516171819202122232425
  1. import type { BytesLike } from "../utils/index.js";
  2. /**
  3. * Compute the cryptographic RIPEMD-160 hash of %%data%%.
  4. *
  5. * @_docloc: api/crypto:Hash Functions
  6. * @returns DataHexstring
  7. *
  8. * @example:
  9. * ripemd160("0x")
  10. * //_result:
  11. *
  12. * ripemd160("0x1337")
  13. * //_result:
  14. *
  15. * ripemd160(new Uint8Array([ 0x13, 0x37 ]))
  16. * //_result:
  17. *
  18. */
  19. export declare function ripemd160(_data: BytesLike): string;
  20. export declare namespace ripemd160 {
  21. var _: (data: Uint8Array) => Uint8Array;
  22. var lock: () => void;
  23. var register: (func: (data: Uint8Array) => BytesLike) => void;
  24. }
  25. //# sourceMappingURL=ripemd160.d.ts.map