Produci un hash SHA-1 da testo con l'algoritmo SHA-1 nel browser.
Genera un digest hex HMAC-SHA1 per integrazioni legacy.