2023-03-04 04:25:07 +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.
|
2023-03-04 04:25:07 +03: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;
|
2023-04-27 15:19:55 +03:00
|
|
|
//# sourceMappingURL=id.d.ts.map
|