Skip to main content

import_key_raw

Function import_key_raw 

Source
pub async fn import_key_raw(
    raw: Vec<u8>,
    options: MacKeyOptions,
) -> Result<MacKey, Error>
Expand description

Import raw key material as an HMAC-SHA-1 key. See hmac-sha2.import-key-raw for the key-length contract.