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

13 lines
344 B
TypeScript
Raw Permalink Normal View History

2023-03-03 18:25:07 -07:00
/**
* A simple hashing function which operates on UTF-8 strings to
2023-04-19 17:30:37 +09:00
* compute an 32-byte identifier.
2023-03-03 18:25:07 -07:00
*
* 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