---
title: nonce
framework: cryptokit
role: symbol
role_heading: Instance Property
path: cryptokit/aes/gcm/sealedbox/nonce
---

# nonce

The nonce used to encrypt the data.

## Declaration

```swift
var nonce: AES.GCM.Nonce { get }
```

## See Also

### Inspecting the component elements

- [ciphertext](cryptokit/aes/gcm/sealedbox/ciphertext.md)
- [tag](cryptokit/aes/gcm/sealedbox/tag.md)
