tuweni / org.apache.tuweni.crypto / Hash / sha2_256

sha2_256

static fun sha2_256(input: ByteArray!): ByteArray! (source)

Digest using SHA2-256.

Parameters

input - ByteArray!: The input bytes to produce the digest for.

Return
ByteArray!: A digest.

static fun sha2_256(input: Bytes!): Bytes32! (source)

Digest using SHA2-256.

Parameters

input - Bytes!: The input bytes to produce the digest for.

Return
Bytes32!: A digest.