Function crypto_wasi::create_hmac

source ·
pub fn create_hmac(
    alg: &str,
    key: impl AsRef<[u8]>
) -> Result<Hmac, CryptoErrno>
Expand description

Creates and returns an Hmac object that uses the given algorithm and key.