net.corda.core.crypto / SecureHash / sha256

sha256

fun sha256(bits: ByteArray): SHA256
fun sha256(str: String): <ERROR CLASS>