corda / net.corda.core.crypto / SecureHash / sha256Twice

sha256Twice

@JvmStatic fun sha256Twice(bytes: ByteArray): SHA256

Computes the SHA-256 hash of the ByteArray, and then computes the SHA-256 hash of the hash.

Parameters

bytes - The ByteArray to hash.