Skip to main content
注意: 此页面尚未翻译成中文。以下内容为英文原版。
A simple hashing function which operates on UTF-8 strings to compute an 32-byte identifier. This simply computes the UTF-8 bytes and computes the keccak256.

Parameters

Returns

string The 32-byte identifier.

Example

Source

hash/id.ts:19