Skip to main content

compute_document_hmac

Function compute_document_hmac 

Source
pub fn compute_document_hmac(secret: &[u8], document_bytes: &[u8]) -> String
Expand description

HMAC-SHA256 hex (64 caractères) du document, calculé avec la clé d’adaptateur — jamais envoyée au prestataire (AC @security).