pub fn hmac_sha256(key: &[u8], data: &[u8]) -> [u8; 32]Expand description
Computes HMAC-SHA256 with a fixed-size key block and no external process.
§Parameters
key: Input consumed bycrate::runtime::dynamic::hmac_sha256.data: Input consumed bycrate::runtime::dynamic::hmac_sha256.
§Returns
Returns the computed value produced by crate::runtime::dynamic::hmac_sha256.
§Examples
ⓘ
let _result = pharos_native::runtime::dynamic::hmac_sha256("key", b"");§Related
crate::runtime::dynamicfor adjacent helpers that share the same runtime surface.