fun OpaqueBytes.hashAs(algorithm: String): SecureHash
Compute the algorithm hash for the contents of the OpaqueBytes.