Skip to main content
Returns Keccak-256 (not the standardized SHA3-256) of the given data. This method will use 40 Compute Units.

Reference: Here

Parameters

DATA - a string. Cronos hashes the UTF-8 text of the string as given, including any 0x prefix, and does not decode it from hex first. This differs from Ethereum clients.

Returns

DATA - The Keccak-256 hash of the given data