Skip to main content

hmac_auth

Function hmac_auth 

Source
pub fn hmac_auth(secret: &[u8], circuit: u32, gen: u32) -> [u8; 32]
Expand description

HMAC-SHA256 over (circuit, gen) under secret — per-circuit auth token.