> For the complete documentation index, see [llms.txt](https://docs.enclaive.cloud/nitride/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enclaive.cloud/nitride/documentation/getting-started/remote-attestation/generate-a-nonce.md).

# Generate a Nonce

Learn to generate nonce on the verifier

{% hint style="info" %}
**Note**: A nonce is a random, one-time-use value generated by the verifier and sent to the attester.

* It ensures the attestation report is fresh and not a replay of an old, potentially compromised report.
* It binds the attestation to a specific request, preventing replay attacks.
  {% endhint %}

## Create the Nonce&#x20;

Generate a nonce for the session. For more information see, the [attestation nonce CLI](/nitride/cli/attestation/nonce.md).

**Example**

```
vhsm nitride attestation nonce f43042c2-3ac6-43fd-be0a-efbfd2c5b419
```

**Output**

```
/Key            Value
---            -----
created        1752752829
description    A small Azure VM running MariaDB
events         https://vhsm.enclaive.cloud:8000
name           Azure MariaDB
namespace      n/a
nonce          E5a8XdpQhg7f9ET0VMXIJT6HftUrvMWCob2Ki4B5EyEKn_MrekFjYRO_NzKc_ppUcSIXGSptY0bVrrI1tAQt_g==
policy         azure-dc2asv5-raw
updated        1752752873
uuid           f43042c2-3ac6-43fd-be0a-efbfd2c5b419
```
