Function crypto_wasi::create_hash
source · pub fn create_hash(alg: &str) -> Result<Hash, CryptoErrno>
Expand description
Creates and returns a Hash
object that can be used to generate hash digests using the given algorithm.
pub fn create_hash(alg: &str) -> Result<Hash, CryptoErrno>
Creates and returns a Hash
object that can be used to generate hash digests using the given algorithm.