Ciphertext
Last Updated: November 19, 2026
Ciphertext is the scrambled, unreadable version of data that results from encryption. It keeps secrets like passwords or private keys safe even if someone steals a copy, because only a person with the right key can turn it back into readable data.
How Ciphertext Is Created
When a user encrypts plaintext (readable data), an algorithm like AES or RSA uses a key to turn it into ciphertext. Only someone with the matching key can turn the ciphertext back into its original form.
With a modern cipher and a secret key, ciphertext looks like random noise. It shows nothing useful about the original data, except often its length.
Example: An Ethereum Keystore File
Ethereum’s keystore standard, on ethereum.org (page updated April 3, 2026), shows ciphertext in use. The file stores a private key in a field called “ciphertext,” made with AES-128-CTR. Next to it sit “cipherparams” and a “mac” value. The wallet turns your password into a key, and the MAC, a Keccak-256 hash, checks the password before it unlocks the key.
Role of Ciphertext in Blockchain
Most data on public blockchain networks is not ciphertext at all. Balances, addresses and transactions are stored in plain view so every node can check them. Ciphertext shows up around the chain instead: in wallet files, in TLS links to exchanges and nodes, and, since Bitcoin Core 27.0 in April 2024, in traffic between Bitcoin nodes.
Some newer protocols do keep data on-chain as ciphertext. Zama uses fully homomorphic encryption, or FHE, which lets smart contracts work on encrypted balances without first unlocking them. Zama said the value held in private form on its protocol passed $122 million on October 31, 2026, as covered in our Zama explainer.
Why It Strengthens Privacy
Ciphertext is key to privacy and safety in crypto. It protects messages, key swaps and wallet backups. But it is only as strong as its key: if a weak password guards a keystore, a thief who copies the file can try guesses offline.
Ciphertext, Hashes and Encoding Compared
Three ideas are often mixed up. Ciphertext can be turned back into the original data, but only with the right key. A hash cannot be turned back at all. SHA-256, for example, maps any input to a fixed 256-bit output, and the same input always gives the same result.
Encoding, such as hex or Base64, only changes how data is written. Anyone can decode it without a key, so encoded data is not secret. A private key shown in hex is still a plain private key.
Symmetric and Asymmetric Encryption
Symmetric ciphers, such as AES, use the same secret key to encrypt and decrypt. They are fast, which is why wallet files and disk encryption use them.
Asymmetric ciphers use a key pair. Anyone can encrypt with the public key, but only the private key can decrypt. RSA works this way. Bitcoin and Ethereum transactions are different: they use key pairs for digital signatures, which prove who approved a transaction rather than hide it.
Many systems combine both. They use public key methods to agree on a random symmetric key, then encrypt the data with the faster cipher. The TLS connections that protect exchange websites work this way.
Common Practices for Encrypted Wallet Backups
An encrypted backup is only as safe as its password and storage. Common practices include a long, unique password, more than one copy kept offline, and a test restore before relying on the backup. A keystore file and its password should not be stored together, because together they unlock the key.
A hardware wallet avoids much of this risk by keeping the key inside the device instead of in a file.
Frequently Asked Questions
Is blockchain data stored as ciphertext?
On most public blockchains, no. Transactions, balances and addresses are stored in plain view so every node can check them, and safety comes from digital signatures and hashes. Ciphertext is used around the chain, in wallet files and network links. Privacy protocols such as Zama are the exception, keeping some balances and contract data encrypted.
Can ciphertext be decrypted without the key?
Not with a modern cipher used the right way. Guessing a 128-bit or 256-bit key is far beyond any computer. In practice, attackers go after the weak points around the cipher, such as short passwords, stolen devices or leaked backups. That is why wallet keystores slow down password guesses with tools like scrypt.
What is the difference between plaintext and ciphertext?
Plaintext is readable data, such as a message or a private key before encryption. Ciphertext is the same data after an encryption algorithm and a key have scrambled it. Decryption with the right key turns ciphertext back into plaintext. Without the key, well-made ciphertext reveals almost nothing about the original, apart from its approximate length.
Data sources: ethereum.org Web3 Secret Storage Definition (page updated April 3, 2026); Bitcoin Core 27.0 release notes (April 2, 2024); Zama figures as reported in our Zama explainer (October 31, 2026).