corda / net.corda.core.crypto / SecureHash / SHA256

SHA256

class SHA256 : SecureHash

SHA-256 is part of the SHA-2 hash function family. Generated hash is fixed size, 256-bits (32-bytes).

Constructors

<init>

SHA-256 is part of the SHA-2 hash function family. Generated hash is fixed size, 256-bits (32-bytes).

SHA256(bytes: ByteArray)

Functions

equals

fun equals(other: Any?): Boolean

generate

fun generate(data: ByteArray): SecureHash

hashCode

fun hashCode(): Int

toString

Convert the hash value to an uppercase hexadecimal String.

fun toString(): String