Hash
id
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
Parameter | Type | Description |
---|---|---|
value | string | The string to hash. |
Returns
string
The 32-byte identifier.
Example
Source
Was this page helpful?