ethers.js/lib.esm/hash/id.d.ts
2023-04-27 21:19:55 +09:00

13 lines
344 B
TypeScript

/**
* A simple hashing function which operates on UTF-8 strings to
* compute an 32-byte identifier.
*
* This simply computes the [UTF-8 bytes](toUtf8Bytes) and computes
* the [[keccak256]].
*
* @example:
* id("hello world")
* //_result:
*/
export declare function id(value: string): string;
//# sourceMappingURL=id.d.ts.map