@JvmStatic fun hashAs(algorithm: String, bytes: ByteArray): SecureHash
Computes the hash value of the ByteArray.
algorithm - Java provider name of the digest algorithm.
algorithm
bytes - The ByteArray to hash.
bytes