Normally, ciphertexts decrypt to a single plaintext that is intended to be kept secret. However, one form of deniable encryption allows its users to decrypt the ciphertext to produce a different (innocuous but plausible) plaintext and plausibly claim that it is what they encrypted. The holder of the ciphertext will not be able to differentiate between the true plaintext, and the bogus-claim plaintext. In general, one
ciphertext cannot be decrypted to all possible
plaintexts unless the key is as large as the
plaintext, so it is not practical in most cases for a ciphertext to reveal no information whatsoever about its plaintext. However, some schemes allow decryption to decoy plaintexts that are close to the original in some metric (such as
edit distance). Modern deniable encryption techniques exploit the fact that without the key, it is infeasible to distinguish between ciphertext from
block ciphers and data generated by a
cryptographically secure pseudorandom number generator (the cipher's
pseudorandom permutation properties). This is used in combination with some
decoy data that the user would plausibly want to keep confidential that will be revealed to the attacker, claiming that this is all there is. This is a form of
steganography. If the user does not supply the correct key for the truly secret data, decrypting it will result in apparently random data, indistinguishable from not having stored any particular data there.
Examples Layers One example of deniable encryption is a
cryptographic filesystem that employs a concept of abstract "layers", where each layer can be decrypted with a different encryption key. Additionally, special "
chaff layers" are filled with random data in order to have
plausible deniability of the existence of real layers and their encryption keys. The user can store decoy files on one or more layers while denying the existence of others, claiming that the rest of space is taken up by chaff layers. Physically, these types of filesystems are typically stored in a single directory consisting of equal-length files with filenames that are either
randomized (in case they belong to chaff layers), or
cryptographic hashes of strings identifying the blocks. The
timestamps of these files are always randomized. Examples of this approach include Rubberhose filesystem. Rubberhose (also known by its development codename Marutukku) is a deniable encryption program which encrypts data on a storage device and hides the encrypted data. The existence of the encrypted data can only be verified using the appropriate cryptographic key. It was created by
Julian Assange as a tool for human rights workers who needed to protect sensitive data in the field and was initially released in 1997.
Container volumes Another approach used by some conventional
disk encryption software suites is creating a second encrypted
volume within a container volume. The container volume is first formatted by filling it with encrypted random data, and then initializing a filesystem on it. The user then fills some of the filesystem with legitimate, but plausible-looking decoy files that the user would seem to have an incentive to hide. Next, a new encrypted volume (the hidden volume) is allocated within the free space of the container filesystem which will be used for data the user actually wants to hide. Since an adversary cannot differentiate between encrypted data and the random data used to initialize the outer volume, this inner volume is now undetectable.
LibreCrypt and
BestCrypt can have many hidden volumes in a container;
TrueCrypt is limited to one hidden volume.
Other software •
Cryptee, an
open-source,
client-side encrypted,
cross-platform productivity suite and
cloud storage service which offers its users the ability to hide (
ghost) folders and photo albums for
plausible deniability. •
LibreCrypt,
open-source transparent disk encryption for MS Windows and PocketPC PDAs that provides both deniable encryption and
plausible deniability. Offers an extensive range of encryption options, and doesn't need to be installed before use as long as the user has administrator rights. •
Off-the-Record Messaging, a cryptographic technique providing true deniability for
instant messaging. •
OpenPuff, freeware semi-open-source steganography for MS Windows. •
StegFS, the current successor to the ideas embodied by the Rubberhose and PhoneBookFS filesystems. •
Vanish, a research prototype implementation of self-destructing data storage. •
VeraCrypt (a successor to a discontinued
TrueCrypt), an
on-the-fly disk encryption software for
Windows,
Mac and
Linux providing limited deniable encryption and to some extent (due to limitations on the number of hidden volumes which can be created It may also be revealed by a so-called
watermarking attack if an inappropriate cipher mode is used. The existence of the data may be revealed by it 'leaking' into non-encrypted disk space where it can be detected by
forensic tools. Doubts have been raised about the level of plausible deniability in 'hidden volumes' – the contents of the "outer" container filesystem have to be 'frozen' in its initial state to prevent the user from corrupting the hidden volume (this can be detected from the access and modification timestamps), which could raise suspicion. This problem can be eliminated by instructing the system not to protect the hidden volume, although this could result in lost data.
Drawbacks Possession of deniable encryption tools could lead attackers to continue torturing a user even after the user has revealed all their keys, because the attackers could not know whether the user had revealed their last key or not. However, knowledge of this fact can disincentivize users from revealing any keys to begin with, since they will never be able to prove to the attacker that they have revealed their last key. ==Deniable authentication==