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

# ciphertext

The encrypted data.

## Declaration

```swift
var ciphertext: Data { get }
```

## Discussion

Discussion The length of the ciphertext of a sealed box is the same as the length of the plaintext you encrypt.

## See Also

### Inspecting the component elements

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