# What is ciphertext?

> Ciphertext is data after encryption: unreadable without the key, but not invisible. What ciphertext still reveals, and what a Crunu server actually stores.

URL: https://crunu.com/learn/ciphertext
Language: en
Updated: 2026-10-30

Ciphertext is data in its encrypted form, the output of an encryption algorithm, which looks like random bytes and can be turned back into the original, called plaintext, only by someone who holds the right key.

NIST's glossary puts it in four words: "Data in its encrypted form" ([NIST](https://csrc.nist.gov/glossary/term/ciphertext)). In everyday writing it is sometimes called "cipher", but a cipher is the algorithm, such as AES; ciphertext is what the algorithm produces.

## What good ciphertext gives you

With a modern scheme such as [AES-256-GCM](https://crunu.com/learn/aes-256-gcm), ciphertext reveals nothing about the content to someone without the key, and authenticated encryption adds a second property: any change to the ciphertext is detected when it is decrypted. Encrypting the same value twice with a fresh nonce gives different ciphertexts, so nobody can tell that two records hold the same secret.

## What ciphertext still reveals

Ciphertext isn't invisible. Around it, and sometimes in it, there is information:

- **Length.** Most encryption preserves the size of the input, give or take a few bytes. A 40-character key and a 4 KB certificate look different.
- **Timing and frequency.** When ciphertext changes, and how often, says something about activity.
- **Everything stored next to it.** Names, labels, owners and access lists are usually plain. See [metadata exposure](https://crunu.com/learn/metadata-exposure).

Padding inputs to fixed sizes hides length. Nothing hides the fact that data exists and changes.

## Common mistakes

- **Calling encoded data encrypted.** Base64 or hex isn't ciphertext; anyone can decode it.
- **Keeping the key next to the ciphertext,** which makes the encryption decorative.
- **Assuming old ciphertext stays safe.** If a key was ever exposed, every ciphertext made with it is readable to whoever has the key, forever. That's why removing someone from a vault needs new keys, and why [key rotation](https://crunu.com/learn/key-rotation) protects only what is encrypted afterwards.

## What a Crunu server stores

The Crunu server stores one encrypted record per version of an environment: all of its files and variables together, encrypted on the device with the environment's key using AES-256-GCM, and padded to a multiple of 4,096 bytes before encryption so sizes are blurred. Variable names and file paths are inside the ciphertext, not next to it. Environment keys are stored sealed to each recipient's public key, so the server holds ciphertext of keys as well as of values.

*Figure: Example: what the Crunu server stores for version 15 of payments-api / production at Kiteline, a fictional company: the ciphertext of the data and of its key, the environment key version and Priya Natarajan’s signature. The server holds no key and no value in any form.*

What the server sees in plain form is metadata: names of organizations, projects and environments, people's email addresses, the audit log and the sizes and times of versions. The full list is in [what the server sees](https://crunu.com/docs/security/what-the-server-sees), and the comparison with services that decrypt on the server is in [who can decrypt your secrets?](https://crunu.com/guides/who-can-decrypt-your-secrets).

## Sources

- [NIST CSRC glossary: ciphertext](https://csrc.nist.gov/glossary/term/ciphertext), checked October 30, 2026.
