py_hmac_signature

Function py_hmac_signature 

Source
pub fn py_hmac_signature(secret: &str, data: &str) -> PyResult<String>
Expand description

HMAC-SHA256 signature of data using the provided secret.

ยงErrors

Returns an error if signature generation fails due to key or cryptographic errors.