corda / net.corda.core.crypto / SecureHash / hashAs

hashAs

@JvmStatic fun hashAs(algorithm: String, bytes: ByteArray): SecureHash

Computes the hash value of the ByteArray.

Parameters

algorithm - Java provider name of the digest algorithm.

bytes - The ByteArray to hash.