ethers.js/lib.esm/hash/id.d.ts

13 lines
344 B
TypeScript
Raw Normal View History

2022-12-10 02:24:58 +03:00
/**
* A simple hashing function which operates on UTF-8 strings to
2023-04-19 11:30:37 +03:00
* compute an 32-byte identifier.
2022-12-10 02:24:58 +03:00
*
* This simply computes the [UTF-8 bytes](toUtf8Bytes) and computes
* the [[keccak256]].
*
* @example:
* id("hello world")
* //_result:
*/
2022-09-05 23:57:11 +03:00
export declare function id(value: string): string;
//# sourceMappingURL=id.d.ts.map