ArticleslgStudy

computer science

Deniable encryption

Deniable encryption is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Deniable encryption rather than just read about it. In short: In cryptography and steganography, plausibly deniable encryption describes encryption techniques in which the existence of an encrypted file or message is deniable in the sense that an adversary cannot prove that the plaintext data exists. The users may convincingly deny that a given piece of data is encrypted, or that they are able to decrypt a given piece of encrypted data, or that some specific encrypted data exi…

Key takeaways

  • Deniable encryption belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Deniable encryption to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Deniable encryption from memory before moving on to harder problems.

Reference excerpt

In cryptography and steganography, plausibly deniable encryption describes encryption techniques in which the existence of an encrypted file or message is deniable in the sense that an adversary cannot prove that the plaintext data exists. The users may convincingly deny that a given piece of data is encrypted, or that they are able to decrypt a given piece of encrypted data, or that some specific encrypted data exists. Such denials may or may not be genuine. For example, it may be impossible to prove that the data is encrypted without the cooperation of the users. If the data is encrypted, the users genuinely may not be able to decrypt it. Deniable encryption serves to undermine an attacker's confidence either that data is encrypted, or that the person in possession of it can decrypt it and provide the associated plaintext. Ran Canetti, Cynthia Dwork, Moni Naor, and Rafail Ostrovsky introduced the concept of deniable encryption in a paper in 1996. The notion of deniable encryption was used by Julian Assange and Ralf Weinmann in the Rubberhose filesystem.

Function Deniable encryption makes it impossible to prove the origin or existence of the plaintext message without the proper decryption key. This may be done by allowing an encrypted message to be decrypted to different sensible plaintexts, depending on the key used. This allows the sender to have plausible deniability if compelled to give up the encryption key.

Scenario In some jurisdictions, statutes assume that human operators have access to such things as encryption keys, and governments may enact key disclosure laws that compel individuals to relinquish keys upon request. Countries such as France and Australia give prosecutors wide-ranging power to compel any person to surrender keys to make available any information encountered in the course of an investigation, and failure to comply incurs jail time and/or civil fines. Another example is the United Kingdom's Regulation of Investigatory Powers Act, which makes it a crime not to surrender encryption keys on demand from a government official authorized by the act. According to the Home Office, the burden of proof that an accused person is in possession of a key rests on the prosecution; moreover, the act contains a defense for operators who have lost or forgotten a key, and they are not liable if they are judged to have done what they can to recover a key. Such laws are not universal, however - in the United States, lower courts frequently view forced disclosure of passwords as a form of self-incrimination and an unconstitutional abridgement of the Fifth Amendment.

In cryptography, rubber-hose cryptanalysis is a euphemism for the extraction of cryptographic secrets (e.g. the password to an encrypted file) from a person by coercion or torture⁠—‍‌such as beating that person with a rubber hose, hence the name‍—‍‌in contrast to a mathematical or technical cryptanalytic attack. An early use of the term was on the sci.crypt newsgroup, in a message posted 16 October 1990 by Marcus J. Ranum, alluding to corporal punishment:[...] the rubber-hose technique of cryptanalysis (in which a rubber hose is applied forcefully and frequently to the soles of the feet until the key to the cryptosystem is discovered, a process that can take a surprisingly short time and is quite computationally inexpensive). Such methods are also euphemistically referred to as "wrench attacks", in reference to an xkcd comic with a similar premise.

Deniable encryption allows the sender of an encrypted message to deny sending that message. A possible scenario works like this: Alice wishes to send a message to Bob but is aware that she may be compelled to decrypt the message for a third party. Alice uses key 1 (K1) to encrypt a harmless message (M1) into a ciphertext (C). She also uses key 2 (K2) to encrypt a second, secret message (M2) within the same ciphertext for Bob. If Alice is coerced, through legal or illegal means, into decrypting the ciphertext C, she can provide K1 to reveal the harmless message M1 without disclosing the existence of M2. This approach relies on the attacker being satisfied with the contents of M1. If M1 appears trivial or unconvincing, the attacker may suspect the existence of additional keys and messages and continue to apply pressure.

The existence of deniable encryption introduces a paradoxical limitation. Because an attacker can never be certain that a given ciphertext contains only a single key–message pair, they may continue to demand further keys even after one has been revealed. This is particularly problematic in scenarios involving coercion, such as Rubber-hose cryptanalysis, where additional keys and messages may be demanded regardless of whether they actually exist. Another scenario involves Alice sending the same ciphertext (some secret instructions) to Bob and Carl, to whom she has handed different keys. Bob and Carl are to receive different instructions and must not be able to read each other's instructions. Bob will receive the message first and then forward it to Carl. Alice constructs the ciphertext out of both messages, M1 and M2, and emails it to Bob. Bob uses his key to decrypt M1 and isn't able to read M2. Bob forwards the ciphertext to Carl. Carl uses his key to decrypt M2 and isn't able to read M1.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Deniable encryption

Start with the simplest possible case. Write down what Deniable encryption claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Deniable encryption before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Deniable encryption ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Deniable encryption

In research
Deniable encryption appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Deniable encryption in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Deniable encryption is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cryptography, so understanding it makes those chapters shorter.
In everyday life
Look for Deniable encryption outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Deniable encryption in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Deniable encryption means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Deniable encryption out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Deniable encryption in simple terms?

In cryptography and steganography, plausibly deniable encryption describes encryption techniques in which the existence of an encrypted file or message is deniable in the sense that an adversary cannot prove that the plaintext data exists. The users may convincingly deny that a given piece of data…

Why does Deniable encryption matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Deniable encryption?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Deniable encryption.

Tags

  • Cryptography

Keep exploring