crypto / org.apache.tuweni.crypto / Hash / keccak256

keccak256

static fun keccak256(input: ByteArray): ByteArray (source)
static fun keccak256(input: Bytes): Bytes32 (source)

Digest using keccak-256.

Parameters

input - The input bytes to produce the digest for.

Return
A digest.