Skip to main content

hmac_sha256_logic_local

Function hmac_sha256_logic_local 

Source
pub fn hmac_sha256_logic_local(key: &[u8], data: &[u8]) -> [u8; 32]
Expand description

Computes HMAC-SHA256 for a bounded message using the shared runtime primitive.

§Parameters

§Returns

Returns the computed value produced by crate::runtime::json_commands::hmac_sha256_logic_local.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::hmac_sha256_logic_local("key", b"");