ArticleslgStudy

computer science

Conditional disclosure of secrets

Conditional disclosure of secrets 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 Conditional disclosure of secrets rather than just read about it. In short: Conditional disclosure of secrets (CDS) is a primitive, studied in information-theoretic cryptography, that allows distributed, non-communicating parties to coordinate the release of information to a third party. CDS was initially introduced for use in the context of private information retrieval, and has been related to communication complexity and non-local quantum computation.

Key takeaways

  • Conditional disclosure of secrets 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 Conditional disclosure of secrets to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Conditional disclosure of secrets from memory before moving on to harder problems.

Reference excerpt

Conditional disclosure of secrets (CDS) is a primitive, studied in information-theoretic cryptography, that allows distributed, non-communicating parties to coordinate the release of information to a third party. CDS was initially introduced for use in the context of private information retrieval, and has been related to communication complexity and non-local quantum computation. It is also related to the private simultaneous message passing setting.

Definition of conditional disclosure of secrets The conditional disclosure of secrets setting involves three players; Alice, Bob and the referee. Alice receives an input x∈{0,1}n and a secret z∈{0,1}, and Bob receives a string y∈{0,1}n. A choice of Boolean function f:{0,1}2n→{0,1} is fixed in advance and known to all players. Alice and Bob cannot communicate with one another, but share a string of random bits which we label r. Alice and Bob compute messages mA=mA(x,z,r) and mB=mB(y,r), which they send to the referee. The referee knows (x,y). A CDS protocol consists of the encoding maps applied by Alice and Bob. A protocol is said to be ϵ-correct if, for all (x,y)∈f−1(1), the referee can determine z with probability 1−ϵ. A protocol is said to be δ-secure if, for all (x,y)∈f−1(0) the distribution of the messages is δ close to a simulator distribution (in total variation distance), where the simulator distribution is independent of z. The communication complexity of a CDS protocol P is the total number of bits of message sent by Alice and Bob. The CDS communication cost of a function, CDSϵ,δ(f) is the minimal communication cost of an ϵ-correct, δ secure protocol that implements f. The randomness complexity and randomness cost of implementing a function in the CDS model are defined similarly, but consider the number of bits of shared random bits held by Alice and Bob.

Basic properties of the primitive

Amplification Supposing we have an ϵ-correct and δ-secure CDS protocol, it is known that we can find a new protocol which reduces the correctness and privacy errors at the expense of an increased communication and randomness cost. More specifically, the following theorem has been proven Theorem (Amplification). A CDS protocol for f which supports a single-bit secret with privacy and correctness error of 1/3 can be transformed into a new CDS protocol with privacy and correctness error of 2−Ω(k) and communication/randomness complexity which are larger than those of the original protocol by a multiplicative factor of O(k). In fact, somewhat more than the above theorem is true in that the size of the secret can also be made to be of length k, while simultaneously reducing the correctness and privacy errors as above. The proof involves first encoding the secret z into a secret sharing scheme, and then running the original CDS protocol on each share of the resulting scheme.

Closure If a CDS protocol for a function f is known, then certain simple modifications of f have CDS protocols with similar efficiency. The simplest case is to consider a CDS protocol for function f and ask for a similarly efficient protocol for the negation of f, labelled ¬f. This is addressed by the following theorem Theorem (CDS is closed under complement). Suppose that f has a CDS protocol with randomness cost of ρ bits, communication complexity of t bits, and privacy and correctness errors δ=ϵ=2−k. Then ¬f has a CDS scheme with similar privacy and correctness errors, and randomness and communication complexity of O(k3ρ2t+k3ρ3). The cost of a CDS protocol is also closed under formula's, in the following sense. Consider two functions f1 and f2. Then, the communication and randomness costs of f1∧f2 as well as f1∨f2 are not much larger than the sum of the costs for f1 and f2. See Applebaum et al. for a precise statement.

Upper and lower bounds on communication cost Given a function f we would like to understand the communication and randomness costs to implement f in the CDS setting. Towards understanding this, protocols for implementing CDS have been developed (which give an upper bound on the cost) and lower bound strategies have been developed. For most functions, there is a large gap between the known upper and lower bounds, so understanding the cost of CDS remains largely an open problem. This section presents some of what is known so far about the cost of CDS.

Secret sharing based upper bound A subject with a close relationship to CDS is secret sharing. Secret sharing constructions provide an upper bound on the cost of CDS protocols. A secret sharing scheme encodes a secret, s into a set of shares S1,...,Sn. Associated to any secret sharing scheme is an access structure, which consists of a set of authorized sets 𝒜=A1,...,Ak with Ai⊆{S1,...,Sn}. The authorized sets are those subsets of the Ai from which it is possible to recover the secret recorded into the scheme. A succinct way to describe an access structure is in terms of a function f𝒜:{0,1}n→{0,1}. Each subset of the shares K[x]⊂{S1,...,Sn} is labelled by a string x∈{0,1}n such that xi=1 if and only if Si∈K. Then we define f𝒜 to be such that f𝒜(x)=1 if and only if K[x]∈𝒜. In words, the function f𝒜 is 1 when given an authorized subset as input, and 0 otherwise. A basic result in the theory of secret sharing is that an access structure 𝒜 can be realized in a secret sharing scheme if and only if f𝒜 is monotone. The size of a secret sharing scheme is defined as the total number of bits in the shares Si. For monotone functions, there is an upper bound on the communication cost in CDS for any monotone function f in terms of the size of any secret sharing scheme with access structure given by f, CDSϵ=0,δ=0(f)≤SharingSize(f) For some concrete classes of secret sharing schemes, this relationship can be extended to general (non-monotone) Boolean functions. This leads to an upper bound on CDS cost in terms of the size of any span program that computes f, CDSϵ=0,δ=0(f)≤SPk(f) The class of problems with efficient (polynomial size) span program is the complexity class ModkL, so problems in this class have efficient CDS protocols.

Sub-exponential upper bounds for all functions Using a matching vector family based construction, it has been proven that ∀f,CDSϵ=0,δ=0(f)≤2O(nlog⁡n). The technique for this proof is similar to one used to prove upper bounds on private information retrieval. This upper bound on CDS also leads to sub-exponential upper bounds on the size of a large class of secret sharing schemes.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Conditional disclosure of secrets

Start with the simplest possible case. Write down what Conditional disclosure of secrets 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 Conditional disclosure of secrets 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 Conditional disclosure of secrets 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 Conditional disclosure of secrets

In research
Conditional disclosure of secrets 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 Conditional disclosure of secrets 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
Conditional disclosure of secrets is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cryptographic primitives, Cryptography, so understanding it makes those chapters shorter.
In everyday life
Look for Conditional disclosure of secrets 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.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Conditional disclosure of secrets” →

How to study Conditional disclosure of secrets in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Conditional disclosure of secrets 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 Conditional disclosure of secrets out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Conditional disclosure of secrets in simple terms?

Conditional disclosure of secrets (CDS) is a primitive, studied in information-theoretic cryptography, that allows distributed, non-communicating parties to coordinate the release of information to a third party. CDS was initially introduced for use in the context of private information retrieval…

Why does Conditional disclosure of secrets 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 Conditional disclosure of secrets?

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 Conditional disclosure of secrets.

Tags

  • Cryptographic primitives
  • Cryptography

Keep exploring