# Generatore HMAC

> Firma il testo con una chiave HMAC che resta locale.

[Open tool](https://www.toolcabana.com/it/hmac-generator) · [Sviluppo e dati](https://www.toolcabana.com/it/category/developer-and-data)

Tool ID: hmac-generator. Requested language: it. Description language: it. Complete guide translation: yes.

## Overview (en)

HMAC generator signs a message with a secret key and returns the HMAC using SHA-256, SHA-384 or SHA-512. Both the message and the secret are read as exact UTF-8 bytes. The result can be lowercase hex, uppercase hex or Base64, which helps when checking webhook or API signatures.

## Supported tasks (it)

Firma il testo con una chiave HMAC che resta locale.

## Steps (it)

1. Incolla l'origine nell'editor di input, oppure carica l'esempio integrato.
2. Regola le impostazioni di base, poi apri la modalità avanzata per le opzioni di esportazione e ottimizzazione. Le impostazioni personalizzate restano attive quando il pannello è chiuso.
3. Esegui il generatore HMAC, esamina il risultato, poi usa i controlli disponibili per copiare o scaricare.

## Settings

- Chiave segreta (resta nel tuo browser) (it; key: secret; type: text)
- Algoritmo (it; key: algorithm; type: select): SHA-256 [it], SHA-384 [it], SHA-512 [it]
- Formato digest (it; key: digestFormat; type: select): hex [it], HEX [it], base64 [it]

## Limitations (it)

Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.

## Example input

```text
Hello ToolCabana
```

## Privacy and connections (it)

Questa operazione elabora i dati di origine nel tuo browser. Copia e download sono azioni esplicite; l'input di origine non viene salvato in un account né in una cronologia.

## Questions (it)

### How do I generate an HMAC SHA-256 signature?

Paste the message, enter the secret key and keep the algorithm set to SHA-256, then run the tool. The output is the keyed HMAC of the message, not a plain hash.

### Is my HMAC secret key encoded as hex or text?

The secret is used as the exact UTF-8 bytes of what you type. A hex or Base64 key string is not decoded first, so enter the key in the form your system uses.

### Can I get the HMAC output in Base64?

Yes. Open Advanced mode and set Digest format to base64. Lowercase hex is the default, and uppercase HEX is also available.

### Dove viene elaborato il mio input?

Questa operazione elabora i dati di origine nel tuo browser. Copia e download sono azioni esplicite; l'input di origine non viene salvato in un account né in una cronologia.

### Quali sono i limiti di input?

Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.

## Related tools

- [ULID generator](https://www.toolcabana.com/it/ulid-generator)
- [UUID generator](https://www.toolcabana.com/it/uuid-generator)
- [File checksum verifier](https://www.toolcabana.com/it/file-checksum)
- [JSON schema validator](https://www.toolcabana.com/it/json-schema)
