id.d.ts 344 B

12345678910111213
  1. /**
  2. * A simple hashing function which operates on UTF-8 strings to
  3. * compute an 32-byte identifier.
  4. *
  5. * This simply computes the [UTF-8 bytes](toUtf8Bytes) and computes
  6. * the [[keccak256]].
  7. *
  8. * @example:
  9. * id("hello world")
  10. * //_result:
  11. */
  12. export declare function id(value: string): string;
  13. //# sourceMappingURL=id.d.ts.map