UNPKG

344 BTypeScriptView Raw
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 */
12export declare function id(value: string): string;
13//# sourceMappingURL=id.d.ts.map
\No newline at end of file