Revocable Encryption, Programs, and More:
The Case of Multi-Copy Security
Abstract
Fundamental principles of quantum mechanics have inspired many new research directions, particularly in quantum cryptography. One such principle is quantum no-cloning which has led to the emerging field of revocable cryptography. Roughly speaking, in a revocable cryptographic primitive, a cryptographic object (such as a ciphertext or program) is represented as a quantum state in such a way that surrendering it effectively translates into losing the capability to use this cryptographic object. All of the revocable cryptographic systems studied so far have a major drawback: the recipient only receives one copy of the quantum state. Worse yet, the schemes become completely insecure if the recipient receives many identical copies of the same quantum state – a property that is clearly much more desirable in practice. While multi-copy security has been extensively studied for a number of other quantum cryptographic primitives, it has so far received only little treatment in context of unclonable primitives. Our work, for the first time, shows the feasibility of revocable primitives, such as revocable encryption and revocable programs, which satisfy multi-copy security in oracle models. This suggest that the stronger notion of multi-copy security is within reach in unclonable cryptography more generally, and therefore could lead to a new research direction in the field.
Keywords and phrases:
quantum cryptography, unclonable primitivesFunding:
Prabhanjan Ananth: Supported by the National Science Foundation under the grants FET-2329938 and the Career award (2341004).Copyright and License:
2012 ACM Subject Classification:
Theory of computation Cryptographic primitivesAcknowledgements:
The authors would like to thank Henry Yuen and Tal Malkin for many useful discussions.Editor:
Niv GilboaSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Designing mechanisms to provably revoke cryptographic capabilities is an age-old problem [46, 45]. In the public-key infrastructure, certificate authorities have the ability to invalidate public-key certificates [49], especially when the certificates have been compromised. Key rotation policies [29] guarantee that outdated decryption keys become ineffective for future use. The existing approaches to tackle with this problem have their limitations owing to the fact that cryptographic secrets are represented as binary strings and hence, it is infeasible to provably ensure that the malicious attackers have erased information from their devices. In the context of key rotation, a compromised key can still be used to decrypt old ciphertexts. Another issue with using classical information to represent cryptographic keys is that it is difficult to detect compromise: a hacker could steal the classical key from a device without leaving a trace.
Recently, a line of works [47, 11, 5, 13, 28, 41, 8] have leveraged quantum information and proposed new approaches for provable revocation of cryptographic objects, such as ciphertexts, programs and keys. These works studied revocation in the context of many Crypto 101 primitives, including pseudorandom functions, private-key and public-key encryption and digital signatures. In a revocable cryptographic primitive, an object (such as a program or a decryption key, etc.) is associated with a quantum state in such a way that only with access to the state the functionality of the original cryptographic object is retained. The common template for defining revocable security is in the form of a cryptographic game: The adversary receives one copy of the quantum state that it can use for a limited period of time after which it is supposed to return back the state to the owner. The security guarantee stipulates that after the state is returned, the adversary effectively loses the capability to use the cryptographic object. At this point, it should be clear to the reader the necessity that such cryptographic objects are represented as quantum states: indeed, if they were classical, the adversary could always maintain a secret copy, while pretending to have erased everything from its device. On the other hand, the no-cloning theorem [50, 32] of quantum mechanics suggests that the above security experiment could very well be achieved.
Multi-Copy Security
Let us now zoom in on the part of the security experiment, where the adversary receives only one copy of the quantum state. In all of the prior works in the literature so far [5, 13, 28, 41, 8], this limitation persists. One could consider a more general definition, where the adversary receives identical copies of the quantum state and is later asked to return back all of the copies of the state. The security guarantee is similar to before: after returning all of the copies, the adversary should effectively lose all access to the underlying crytptographic object. We term this general security experiment to be multi-copy security.
There are a couple of reasons to study multi-copy security for revocable primitives.
-
Historical Context: Multi-copy security is not new and has been extensively studied in quantum cryptography, especially in the context of foundational primitives such as pseudorandom states [35, 23, 14, 7, 21, 22] and one-way state generators [43, 42]. Indeed, multi-copy security has been crucial in the design of many cryptographic constructions. The works of [7, 12, 37] used tomography, which inherently requires multiple copies in order to dequantize the communication in some of the quantum cryptographic primitives. Specifically for revocable primitives, a conceptual reason to study multi-copy security is to understand whether having more copies necessarily makes it easier for the adversary to clone quantum states. Investigating multi-copy security for revocable primitives is a starting step towards understanding multi-copy security for more advanced primitives such as public-key quantum money [3, 52]. The question of whether multi-copy security is possible in unclonable cryptography was also recently raised in [40].
-
Nested Leasing: Having access to many more copies of the quantum state would also give more power to the user; for example, using a permutation test [36] (a generalized version of SWAP test) where one is given and polynomially many copies of , one can approximately test the overlap between and . This ability allows for nested leasing of cryptographic objects, such as programs or keys. Suppose a user A is leased a large number of, say , copies of a quantum program . User A could further lease a number, say , of copies of to user B. At a later point in time, when user B is asked to return back its copies to user A. User A can then use its copies to approximately test whether the returned copies are correct. If the test succeeds, user A then is in a position to return back all of its copies to the true owner111A drawback of this approach is that there is some room for user B to cheat with noticeable probability in this approach without user A noticing, which means that the owner would not always be to pinpoint whether user A or user B cheated. Still, this approach offers a non-trivial solution to this challenging problem.. Such a nested leasing approach could be especially useful in organizations with hierarchical structure.
The notion of multi-copy security we consider in this work is closely related to collusion-resistant security, considered in the works of [39, 27]. The crucial difference is that in the prior works, the adversary receives i.i.d copies of the quantum key whereas in our case, the adversary receives identical copies of the quantum key. In the nested leasing application discussed above, it was crucial that the user received many identical copies of the same state.
Multi-copy security using commonly studied unclonable states: Challenges
The first step towards addressing multi-copy security is to identify quantum states that are unclonable. We discuss the commonly studied unclonable quantum states below:
-
BB84 states: these states are of the form , where and . These states have been influential in the design of private-key quantum money [48] and in the design of encryption schemes with unclonable ciphertexts [26, 24]. Given many copies of , one can learn and and hence, recover a complete description of .
-
Subspace and Coset states: these states are of the form , where is a sparse subspace of , for some . These states have been crucial in the design of public-key quantum money [3, 52], among other primitives. Again given many copies, one can learn the basis of the subspace and hence a complete description of the subspace state. Another related class of unclonable states are coset states which are superpositions over a coset (rather than a subspace) and moreover, each term in the superposition has a phase that depends on a dual coset. Coset states have been influential in constructions of quantum copy-protection [30]. Similar to subspace states, coset states are also learnable.
-
SIS-based states: these states are of the form , where , is a discrete Gaussian distribution such that most of the weight is on low norm vectors and finally, . They were useful in designing traditional and advanced encryption systems with unclonable quantum keys [44, 13, 41, 8]. Given many copies of this state, one can recover a short basis of the kernel of which can then be used to recover the above state.
In other words, all the above types of states are learnable and hence, they cannot be the basis of any unclonable cryptographic scheme satisfying multi-copy security. This suggests that we need to look for new unclonable quantum states that are unlearnable even given many copies. In the past, discovering new unclonable quantum states has led to pushing the frontier of unclonable quantum cryptographic primitives and we believe our endeavour could reap similar results.
2 Our Results
We now give an overview of our results.
Our Approach: Quantum Pseudorandomness Meets Unclonable Cryptography
We use subset states to tackle multi-copy security. Subset states have been recently studied in the context of quantum pseudorandomness [33, 34, 2]. A subset state is associated with an unstructured and random subset of the form . Several recent works [33, 34] showed that random subset states (of non-trivial size) are approximate state -designs for any polynomial as a function of , which make random subset states222Strictly speaking, we use pseudorandom subset states which can be generated efficiently via pseudorandom permutations. a natural candidate for multi-copy security – particularly since Haar states are unlearnable given polynomially many identical copies. At first sight, it would seem as though that the fact that random subset states are close to Haar states should be discourage us from using them for unclonable cryptography, especially since Haar states have virtually no structure. Indeed, the structure of BB84 states, subspace states and others has been crucially exploited in various applications. Our work shows that subset states, in some sense, have the minimal amount of structure to enable a number of interesting cryptographic primitives in the context of multi-copy revocable cryptography. To the best of our knowledge, these applications also mark the first use case of subset states in the context of cryptography. Our main technical contribution is of information-theoretic nature: we prove a query lower bound for forging subset elements; concretely, we show that any quantum algorithm that receives copies of a random subset state cannot produce many subset elements in unless it makes a large amount of queries to a membership oracle for . We believe that this result could be of independent interest.
Multi-Copy Revocable Encryption.
We first study revocable encryption [47, 5, 13] with multi-copy security. A revocable encryption scheme is a regular encryption scheme but where the ciphertexts are associated with quantum states. Additionally, a revocable encryption scheme comes with the following security notion called multi-copy revocable security: informally, it states that any adversary that successfully returns valid copies of a quantum ciphertext which it was given by a challenger, where is an arbitrary polynomial, necessarily loses the ability to decrypt the ciphertexts in the future – even if the secret key is revealed. In more detail, the security game is formulated as follows:
-
The adversary selects a pair of messages and sends them to the challenger.
-
The challenger randomly selects one of the two messages, say , and encrypts it times using a secret ket , and sends the ciphertext copies to the adversary .
-
At a later point in time, returns back all the copies of , which are then verified by the challenger.
-
After successfully returning back the states, receives the secret key in the clear. Finally, outputs a guess .
The scheme is said to be secure if the probability that is close to .
Prior works [47, 5, 13, 28, 8] only studied variants of the above security game in the setting where the adversary receives only one copy of the quantum ciphertext. In fact, their schemes are easily seen to not satisfy multi-copy security. We show the following.
Theorem 1.
If post-quantum one-way functions exist, then there exists an encryption scheme with (an oracular notion of) multi-copy revocable security.
Some remarks are in order. Firstly, our security proof does not fully achieve the standard notion of revocable security guarantee we stated above; rather, we consider a slightly different variant of the experiment, where in the second part of the game (instead of revealing the secret key in the clear) we allow the adversary to query an oracle that is powerful enough to enable decryption during the first phase of the game. While this constitutes a weaker notion of security, it nevertheless results in a meaningful notion of revocable security: once the adversary has successfully returned all of the copies of the ciphertext, it can no longer decrypt the ciphertext in the future – even if it gets access to an oracle that would have previously allowed it to do so. Second, our construction of multi-copy revocable encryption makes use of quantum-secure pseudorandom permutations (QPRPs), which can be constructed from post-quantum one-way functions [51]. In the security experiment which underlies our construction, the aforementioned oracle for decryption (i.e., that which is handed to the adversary after revocation has taken place) is in the form of an ideal oracle for the permutation itself. Once again, the rationale behind our notion of oracular security is that an attacker who receives a QPRP key in the clear would most certainly use it to evaluate the QPRP, and hence it is reasonable to consider a model in which the attacker receives an oracle for the permutation instead.333Note, however, that this does not capture all possible attacks; for example, the adversary could use its knowledge of the QPRP key to break the scheme in other meaningful ways. A key advantage of oracular security is that we can directly invoke the security of the QPRP and use a perfectly random permutation instead. 444This switch is generally not possible in the standard notion of revocable security in which the QPRP key is required to revealed in the clear. Here, QPRP security does not apply. We remark that this model loosely resembles the random permutation model behind the international hash function standard SHA-3 [19, 20], except that the adversary only receives oracle access to the permutation during the second part of the revocable security experiment. While our construction only achieves an oracular notion of revocable security, it is nevertheless the very first construction of revocable encryption which satisfies multi-copy security in any model.
Multi-Copy Revocable Programs
Our previous discussion on revocable encryption illustrates that encryption and decryption functionalities can be protected even if many copies of the quantum ciphertext are made available to the recipient. We generalize this result further and study whether arbitrary functionalities can be protected. We define and study revocable programs with multi-copy security. In this notion, there is a functionality preserving compiler that takes a program and converts it into a quantum state. The security guarantee is defined similar to revocable encryption:
-
The challenger compiles a program , sampled from a distribution on a set of programs , into a state . It then sends copies of the state to the adversary .
-
At a later point in time, returns back all of the copies of .
-
After returning back the state, is given , where is sampled from the input distribution of . It then outputs a guess .
The scheme is said to be secure if the probability that is roughly close to the trivial success probability. Here, the trivial success probability is defined as the optimal probability of guessing given just (and the knowledge of and the input distribution).
Prior works propose revocable programs for specific functionalities in the plain model [30] or for general functionalities in oracle models [4]. However, these works guarantee security only if the adversary receives one copy of the state. And as before, these constructions provably do not satisfy multi-copy security. We show the following.
Theorem 2.
There exist revocable programs which satisfy (an oracular notion of) multi-copy security in a classical oracle model.
Unlike Theorem 1, the above theorem relies upon structured and ideal classical oracles.
Finally, for the special case of point functions, we show that we can again only rely upon pseudorandom permutations together with the (standard) quantum random oracle model. We show the following.
Theorem 3.
There exist revocable multi-bit point functions which satisfy (an oracular notion of) multi-copy security in quantum random oracle model.
Our results and techniques opens the door for building more advanced unclonable primitives that preserve their security even if the adversary receives many copies of the unclonable quantum state.
Are Results in Oracle Models Interesting?
It is natural for a reader to be skeptical of our results given that they are based in the oracle models. However, we would like to emphasize that achieving results in the oracle models still requires non-trivial amount of effort. As history suggests, constructions in the oracle models have eventually been adopted to constructions in the plain model. A classic example is the construction of public-key quantum money, which was first proposed in the oracle models by Aaronson and Christiano [3] and later, being instantiated in the plain model by Zhandry [52]. In a similar vein, our techniques could be useful for future works on achieving multi-copy security in the plain model.
Applications to Sponge Hashing
As a complementary contribution, we show that the techniques we developed in this paper are more broadly applicable and extend to other cryptographic settings as well. Here, we single out the so-called sponge construction used in SHA-3 [19, 20].
We study a simple query problem: Suppose that an adversary receives as input a hash table for a set of random input keys, where each hash is computed using a salted (one-round) sponge hash function. How many quantum queries are necessary to find a new valid element in the range of the hash function? Our contribution is a space-time trade-off which precisely characterizes the hardness of finding hash table elements in the presence of oracles that depend non-trivially on the sponge hash function.
2.1 Related work
We now discuss related notions which are relevant to this work.
Copy-Protection
This notion was first introduced by Aaronson [1]. Informally speaking, a copy-protection scheme is a compiler that transforms programs into quantum states in such a way that using the resulting states, one can run the original program. Yet, the security guarantee stipulates that any adversary given one copy of the state cannot produce a bipartite state wherein both parts compute the original program. Copy-protection schemes have since been constructed for various classes of programs and under various different models, for example as in [1, 4, 31, 9, 10, 39, 27]. We remark, however, that all of the aforementioned works are completely insecure if multiple identical copies of the program are made available. The notion of multi-copy security we consider in this work is closely related to collusion-resistant security, considered in the works of [39, 27]. The crucial difference is that in the prior works, the adversary receives i.i.d copies of the quantum key whereas in our case, the adversary receives identical copies of the quantum key.
Secure Software Leasing
Another primitive relevant to revocable cryptography is secure software leasing [11]. The notion of secure software leasing states that any program can be compiled into a functionally equivalent program, represented as a quantum state, in such a way that once the compiled program is returned, the (honest) evaluation algorithm on the residual state cannot compute the original functionality. Secure leasing has been constructed for various functionalities [11, 31, 25, 38]. Similar to copy-protection, none of the aforementioned works consider multi-copy security.
Encryption Schemes with Revocable Ciphertexts
Unruh [47] proposed a (private-key) quantum timed-release encryption scheme that is revocable, i.e. it allows a user to return the ciphertext of a quantum timed-release encryption scheme, thereby losing all access to the data. Broadbent and Islam [24] introduced the notion of certified deletion, which is incomparable with the related notion of unclonable encryption. This has led to the development of other certified deletion protocols, for example as in Ref. [44, 15, 17, 16, 18]. However, the notion of multi-copy security, such as in our work, has not been studied.
3 Preliminaries
Let denote the security parameter throughout this work. We assume that the reader is familiar with the fundamental cryptographic concepts.
For , we use to denote the set of integers up to . The symmetric group on is denoted by . In slight abuse of notation, we oftentimes identify elements with bit strings via their binary representation whenever and . Similarly, we identify permutations with permutations over bit strings of length . For a bit string , we frequently use the notation , where serves as a placeholder to denote the set , where is another integer which is typically clear in context.
We write to denote any negligible function, which is a function such that, for every constant , there exists an integer such that for all , .
Lemma 4 (One-Way-to-Hiding Lemma, [6]).
Let be arbitrary sets and let be a (possibly random) subset. Let be arbitrary (possibly random) functions such that , for all . Let be a classical bit string or a (possibly mixed) quantum state (Note that may have arbitrary joint distribution). Let be an oracle-aided quantum algorithm that makes at most quantum queries. Let be an algorithm that on input chooses a random query index , runs , measures ’s -th query and outputs the measurement outcome. Then, we have
Moreover, for any fixed choice of and (when is a classical string or a pure state), we get
where denotes the intermediate state of just before the -st query, where the initial state at corresponds to , and is a projector onto .
Pseudorandom Permutations
A quantum-secure pseudorandom permutation is a a bijective function family which can be constructed from quantum-secure one-way functions [51].
Definition 5 (QPRP).
Let denote the security parameter. Let be a function, where is an integer, such that each function in the corresponding family is bijective. We say is a (strong) quantum-secure pseudorandom permutation (or QPRP) if, for every QPT with access to both the function and its inverse, it holds that
where denotes the set of permutations over -bit strings.
Subset States
We consider the following notations.
-
We denote the set of distinct -tuples over a set by .
-
Suppose is a set. We denote .
-
Suppose . We denote , where denotes the symmetric group on .
We use the following lemma which follows from Propositions 3.3 and 3.4 in [34].
Lemma 6 ([34]).
Let . Let be a subset of size . Then, it holds that
4 Unforgeability of Subset States
We now prove the following theorem. Roughly speaking, our theorem says that any quantum algorithm which receives copies of a random subset state (and a membership oracle for ) cannot find distinct elements in with high probability unless it makes a large number of queries.
Theorem 7 ( Unforgeability of Subset States).
Let and . Then, for any -query quantum oracle algorithm , and any , it holds that
In particular, we can let , and be superpolynomial. Then, for any with and , the probability is at most .
Proof.
Using Lemma 8, we can prove Theorem 7 as follows: Let’s assume for contradiction that there exists a query quantum oracle algorithm , and a , such that
where is some non negligible function. Then, from Lemma 8, this implies that,
However, the probability that can succeed in this experiment is 0. This is because, only contains elements, and therefore, can never produce distinct elements from . This must imply that is negligible.
Technical Lemma
We need to show the following lemma which made use of in Theorem 7.
Lemma 8.
Let be integers such that . Then, for any -query quantum oracle algorithm which outputs a single bit, it holds that
Proof.
Consider the following hybrid distributions.
.
Output , where is a random subset of size .
.
Output , where the subset is sampled as follows: first, sample a random subset of size , and then let be a random subset of size .
Let be the probability that outputs 1, for some . We now show the following.
Claim 9.
.
Proof.
The distribution of sampling of size is identical to the distribution of first sampling a superset of size , and letting be a random subset of size .
.
Output , where the subset is sampled as follows: first, sample a random subset of size , and then let be a random subset of size .
Claim 10.
Proof.
We can model the quantum oracle algorithm on input as a sequence of oracle queries and unitary computations followed by a measurement. Thus, the final output state just before the measurement can be written as
where are unitaries (possibly acting on additional workspace registers, which we omit above), and where is some fixed initial state which is independent of .
In the next step of the proof, we will use the “subset flooding” technique to drown in a random superset. Let be a random superset of of size . We now consider the state
We now claim that the states and are sufficiently close. From the definition of and , we have that iff . By the O2H Lemma (Lemma 4),
| (Jensen’s inequality) | ||||
Therefore, the probability (over the choice of and ) that succeeds is at most the probability that succeeds – up to an additive loss of .
.
Output , where the subset is sampled as follows: first, sample a random subset of size , and then let be a random subset of size .
Claim 11.
Proof.
Here, we make use of Lemma 6 which says that, for any superset of size ,
.
Output , where the subset is sampled as follows: first, sample a random subset of size , and then let be a random subset of size .
Claim 12.
Proof.
Suppose that is a random subset of size , and let , where denotes the symmetric group on . Consider the state
prepared by just before the measurement. Similarly, we let
be the state prepared by . Using Lemma 4 as before, we get that
| (Jensen’s inequality) | ||||
Therefore, the probability (over the choice of and ) that succeeds is at most the probability that succeeds (up to an additive error of ). Therefore, by applying the triangle inequality, we get that
This proves the claim.
5 Multi-Copy Revocable Encryption: Definition
In this section we formally define and construct multi-copy secure revocable encryption schemes. These are regular encryption scheme but where the ciphertexts are associated with quantum states. Moreover, the security property guarantees that any adversary that successfully returns valid copies of a quantum ciphertext (which it received from a trusted party), where is an arbitrary polynomial, necessarily loses the ability to decrypt the ciphertexts in the future – even if the secret key is revealed.
Our definition of revocable encryption is as follows:
Definition 13 (Revocable Encryption).
Let denote the security parameter. A revocable encryption scheme with plaintext space consists of the following QPT algorithms:
-
: on input the security parameter , output a secret key .
-
: on input the secret key and a message , output a (pure) ciphertext state and a (private) verification key .
-
: on input the secret key and a quantum state , output a message .
-
: on input the secret key , a verification key and a state , output or .
In addition, we require that satisfies the following two properties:
- Correctness of decryption:
-
for all plaintexts , it holds that
- Correctness of revocation:
-
for all plaintexts , it holds that
There are two properties we require the above scheme to satisfy.
Firstly, we require the above scheme to be correct. That is, we require the following to hold for all ,
for some negligible function .
Multi-Copy Revocable Security
We use the following notion of security.
Definition 14 (Multi-Copy Revocable Security).
Let denote the security parameter and let be a revocable encryption scheme with plaintext space . Consider the following experiment between a QPT adversary and a challenger.
:
-
1.
submits two messages and a polynomial to the challenger.
-
2.
The challenger samples a key and produces . Afterwards, the challenger sends the quantum state to .
-
3.
returns a quantum state .
-
4.
The challenger performs the measurement on the returned state . If the measurement succeeds, the game continues; otherwise, the challenger aborts.
-
5.
The challenger sends the secret key to .
-
6.
outputs a bit .
We say that the revocable encryption scheme has multi-copy revocable security, if the following holds for all :
Remark 15.
In this work, we will work with a weaker variant of this security game, one where the post revocation adversary is given access to an oracle that depends on the key instead. The reason for this will become clear from context.
Remark 16 (Search variant).
Occasionally, we also consider the search variant of multi-copy revocable encryption. Here, the experiment is similar, except that in Step , the adversary only submits to the challenger. Then, in Step , the challenger chooses a message uniformly at random from the plaintext space, encrypts it times and sends all of the copies to the adversary. Finally, the adversary is said to win the game if it guesses correctly.
6 Construction of Multi-Copy Secure Revocable Encryption
In this section, we instantiate our revocable encryption scheme using quantum-secure pseudorandom permutations (QPRPs), and we prove security in an oracular model: this means that, rather than revealing the QPRP key in the final part of the revocable security experiment, we instead allow the adversary to query an oracle for a the permutation instead.
Construction 17.
Let be the security parameter. Let be polymomial in . Let be an ensemble of permutations , for some set . Consider the scheme which consists of the following QPT algorithms:
-
: sample a uniformly random key and let .
-
: on input the secret key and message , sample and prepare the subset state given by
Output the ciphertext state and (private) verification key .
-
: on input the decryption key and ciphertext state , do the following:
-
–
Coherently compute on and store the answer in a separate output register.
-
–
Measure the output register to get .
-
–
Output .
-
–
-
: on input , a state and verification key , it parses , and applies the measurement to ; it outputs if it succeeds, and otherwise.
Proof of Multi-Copy Revocable Security
Theorem 18.
Construction 17, when instantiated with a QPRP , satisfies (an oracular notion of) multi-copy revocable security.
Proof.
Because we are working in the oracular model of revocable security, we can invoke QPRP security and assume that in Construction 17 is instantiated with a perfectly random permutation rather than a QPRP permutation .
Suppose that our construction does not achieve multi-copy revocable security. Then, there exists an adversary such that
for some non-negligible function . For convenience, we model as a pair of quantum algorithms , where corresponds to the pre-revocation adversary, and corresponds to the post-revocation adversary. We consider the following sequence of hybrid distributions.
.
This corresponds to .
-
1.
submits two -bit messages and a polynomial to the challenger.
-
2.
The challenger samples and produces a quantum state
The challenger then sends and to .
-
3.
prepares a bipartite state on registers and , and sends to the challenger and to .
-
4.
The challenger performs the projective measurement on . If the measurement succeeds, the challenger outputs . Otherwise, the challenger continues.
-
5.
The challenger grants quantum oracle access to .
-
6.
outputs a bit .
.
This is the same experiment as in , except that we change how is generated before revocation:
-
The challenger samples a random subset of size .
-
The challenger samples a random .
-
The challenger sends and to .
Later, the challenger samples a random permutation subject to the constraint that , for all . In other words, , where
and . After revocation, receives oracle access to .
Claim 19.
and are identically distributed.
Proof.
This follows immediately. We just changed the order in which we sample things.
.
This is the same experiment as in , except that we change the second part of the experiment: after the challenger sends and to , he does the following:
-
The challenger samples a random function . 555Note that we have in general.
-
The challenger samples a random permutation .
After revocation, receives oracle access to , where
Claim 20.
and are -close whenever makes queries.
Proof.
Here, we apply Zhandry’s result which says that random functions are indistinguishable from random permutations. Consider the following algorithm which receives oracle access to , which is either a random function or a random permutation :
-
1.
samples a random subset of size and a random .
-
2.
sends and to .
-
3.
When replies with a bipartite state on registers and , performs the projective measurement on . If it succeeds, outputs . Otherwise, continues.
-
4.
runs the post-revocation adversary on input . Whenever makes a query, answers using the function
where we let
-
be some canonical mapping from (with ) onto , i.e., is a a function which assigns each element of a unique bit string in .
-
be the function which maps each to .
-
Note that whenever is a random permutation, the view of is precisely ; whereas, if is a random function, the view of is precisely . Therefore, the claim follows from Zhandry’s result on indistinguishability of random pemrutations from random functions (see full version for formal statement).
.
This is the same experiment as in , except that we change the second part of the experiment once again: after the challenger sends and to , he does the following:
-
the challenger samples a random function subject to the constraint that , for all .
After revocation, receives oracle access to .
Claim 21.
and are -close whenever makes queries.
Proof.
The proof again follows since distinguishing and amounts to distinguishing a random function from a random permutation mapping a random permutation . Since the domain and co-domain are of equal size , the advantage is at most .
.
This is the same experiment as in , but now we change what receives in the pre-revocation phase:
-
The challenger samples a random subset of size .
-
The challenger samples a random .
-
The challenger sends to .
After revocation, the challenger samples a random function subject to the constraint that , for all . receives oracle access to .
Claim 22.
and are indentical.
Proof.
This follows from the fact that we have just re-labeled the variables.
.
This is the same experiment as in , except that we once again change what receives in the pre-revocation phase:
-
The challenger samples a random subset of size .
-
The challenger samples a random .
-
The challenger samples a random .
-
The challenger sends to .
After revocation, the challenger samples a random function subject to the constraint that , for all . receives oracle access to .
Note that hybrids and are identically distributed. By assumption, we also know that distinguishes and with non-negligible advantage. Therefore, our previous hybrid argument has shown that must also distinguish and (respectively, hybrids and ) with advantage at least , for some non negligible function . To complete the proof, we show the following claim which yields the desired contradiction to the unforgeability property of subset states from Theorem 7.
Claim 23.
in Algorithm 1 is a -query algorithm (which internally runs ) such that
Proof.
Since and can be distinguished by the adversary with advantage , for some non-negligible function , this implies that the post-revocation adversary is an algorithm for which the following property holds: given as input uniformly random string and an auxiliary register (conditioned on revocation succeeding), can distinguish whether it is given an oracle for a function which is random subject to the constraint that for all , or whether it is given an oracle for a function which is a random function subject to the constraint that for all . Crucially, the two functions differ precisely on inputs belonging to , and are otherwise identical.
Consider the quantum extractor which is defined as follows:
-
1.
Sample , where denotes the total number of queries made by .
-
2.
Run just before the -st query to .
-
3.
Measure ’s -th query in the computational basis, and output the measurement outcome.
From the O2H Lemma (see full version for the formal statement), we get that
where corresponds to the register conditioned on the event that the projective measurement
succeeds on register . Because the distinguishing advantage of the adversary is non-negligible (conditioned on the event that revocation succeeds on register ) and , we get
To complete the proof, we now show that in Algorithm 1 is a successful algorithm against the unforgeability of subset states.
Let denote the projective measurement of register . Using the Simultaneous Distinct Extraction Lemma (Lemma 24), we get that
which is at least inverse polynomial in . This proves the claim. Thus, we obtain the desired contradiction to the unforgeability property of subset states from Theorem 7. This completes the proof of multi-copy revocable encryption security.
6.1 Simultaneous Distinct Extraction Lemma
The following lemma allows us to analyze the probability of simultaneously extracting distinct subset elements in some subset in terms of the success probability of revocation (i.e., the projection onto ) and the success probability of extracting another subset element from the adversary’s state.
Lemma 24 (Simultaneous Distinct Extraction).
Let and let be an any density matrix, where is an -qubit Hilbert space and where is an arbitrary Hilbert space. Let denote a subset state, for some subset , and let be any map of the form
for some isometry and -qubit Hilbert space . Consider the element
Let denote the reduced state. Then, it holds that
where is a reduced state in system .
7 Multi-Copy Revocable Programs: Definition
In this section, we study whether arbitrary functionalities can be revoked. We define and study revocable programs with multi-copy security. In this notion, there is a functionality preserving compiler that takes a program and converts it into a quantum state, which can later be certifiably revoked.
We now give a formal definition of revocable programs.
Definition 25 (Revocable Program).
Let be a class of efficiently computable program families with domain and range . A revocable program compiler for the class is a tuple consisting of the following QPT algorithms:
-
: on input the security parameter and a program with , output a quantum state and a (private) verification key .
-
: on input a quantum state and input , output .
-
: on input the verification key and a state , output or .
In addition, we require that satisfies the following two properties for all :
- Correctness of evaluation:
-
for all programs and inputs , it holds that
- Correctness of revocation:
-
for all programs , it holds that
Multi-Copy Revocable Security
We use the following notion of security.
Definition 26 (Multi-Copy Revocable Security for Programs).
Let be a class of efficiently computable program families and let be an ensemble of program distributions. Let be an ensemble of challenge distribution families with . Consider the following experiment between a QPT adversary and a challenger.
:
-
1.
submits a polynomial to the challenger.
-
2.
The challenger samples a program with domain and range , and runs to generate a pair . Afterwards, the challenger sends the quantum state to .
-
3.
returns a quantum state .
-
4.
The challenger performs the measurement on the returned state . If the measurement succeeds, the game continues; otherwise, the challenger aborts.
-
5.
The challenger samples a challenge input sends to .
-
6.
The adversary outputs .
-
7.
The challenger outputs if and only if .
We say that a revocable program compiler has multi-copy revocable security for the ensembles and , if the following holds for any QPT adversary :
where is the trivial guessing probability.
8 Construction of Multi-Copy Secure Revocable Programs in a Classical Oracle Model
In this section, we give a construction of multi-copy secure revocable programs; specifically, we work with a classical oracle model. Our construction is as follows:
Construction 27.
Let be the security parameter. Let be polymomial in . Let be an ensemble of permutations , for some set .
-
: sample a uniformly random key and let .
-
: on input and a program with , do the following:
-
–
Sample and prepare the subset state given by
-
–
Let and, for brevity, let be the corresponding subset.
-
–
Let denote an a (public) classical oracle, which is defined as follows:
-
–
-
: on input , , do the following:
-
–
Coherently evaluate on input , and compute its output into an ancillary register.
-
–
Measure the ancillary register and then output the measurement outcome.
-
–
-
: on input , a state and verification key , it parses and applies the measurement to ; it outputs if it succeeds, and otherwise.
The above scheme is easily seen to satisfy correctness.
Proof of Multi-Copy Revocable Security
Before we analyze the security of Construction 27, let us first remark that we can instantiate the scheme using a QPRP family , for some key space . In the security proof, however, we will work with the random permutation model instead. This means that we will consider random permutations throughout the security game.
Theorem 28.
Construction 27 satisfies multi-copy revocable security for any pair of distributions in a classical oracle model, where the recipient receives an (ideal classical) oracle for the purpose of evaluation.
Proof.
Please see full version.
9 Construction of Multi-Copy Secure Revocable Point Functions in the QROM
Please see the full version for this section.
10 Applications to Sponge Hashing
Please see the full version for this section.
References
- [1] Scott Aaronson. Quantum copy-protection and quantum money. In 2009 24th Annual IEEE Conference on Computational Complexity, pages 229–242. IEEE, 2009. doi:10.1109/CCC.2009.42.
- [2] Scott Aaronson, Adam Bouland, Bill Fefferman, Soumik Ghosh, Umesh Vazirani, Chenyi Zhang, and Zixin Zhou. Quantum Pseudoentanglement. In Venkatesan Guruswami, editor, 15th Innovations in Theoretical Computer Science Conference (ITCS 2024), volume 287 of Leibniz International Proceedings in Informatics (LIPIcs), pages 2:1–2:21, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ITCS.2024.2.
- [3] Scott Aaronson and Paul Christiano. Quantum money from hidden subspaces. In Proceedings of the forty-fourth annual ACM symposium on Theory of computing, pages 41–60, 2012. doi:10.1145/2213977.2213983.
- [4] Scott Aaronson, Jiahui Liu, Qipeng Liu, Mark Zhandry, and Ruizhe Zhang. New approaches for quantum copy-protection. In Advances in Cryptology–CRYPTO 2021: 41st Annual International Cryptology Conference, CRYPTO 2021, Virtual Event, August 16–20, 2021, Proceedings, Part I 41, pages 526–555. Springer, 2021. doi:10.1007/978-3-030-84242-0_19.
- [5] Shweta Agrawal, Fuyuki Kitagawa, Ryo Nishimaki, Shota Yamada, and Takashi Yamakawa. Public key encryption with secure key leasing. In Annual International Conference on the Theory and Applications of Cryptographic Techniques, pages 581–610. Springer, 2023. doi:10.1007/978-3-031-30545-0_20.
- [6] Andris Ambainis, Mike Hamburg, and Dominique Unruh. Quantum security proofs using semi-classical oracles. Cryptology ePrint Archive, Paper 2018/904, 2018. URL: https://eprint.iacr.org/2018/904.
- [7] Prabhanjan Ananth, Aditya Gulati, Luowen Qian, and Henry Yuen. Pseudorandom (function-like) quantum state generators: New definitions and applications. In Theory of Cryptography Conference, pages 237–265. Springer, 2022. doi:10.1007/978-3-031-22318-1_9.
- [8] Prabhanjan Ananth, Zihan Hu, and Zikuan Huang. Quantum key-revocable dual-regev encryption, revisited. Cryptology ePrint Archive, 2024.
- [9] Prabhanjan Ananth and Fatih Kaleoglu. A note on copy-protection from random oracles. arXiv preprint, 2022. arXiv:2208.12884.
- [10] Prabhanjan Ananth, Fatih Kaleoglu, and Qipeng Liu. Cloning games: A general framework for unclonable primitives. arXiv preprint, 2023. arXiv:2302.01874.
- [11] Prabhanjan Ananth and Rolando L La Placa. Secure software leasing. In Annual International Conference on the Theory and Applications of Cryptographic Techniques, pages 501–530. Springer, 2021. doi:10.1007/978-3-030-77886-6_17.
- [12] Prabhanjan Ananth, Yao-Ting Lin, and Henry Yuen. Pseudorandom strings from pseudorandom quantum states. In ITCS, 2024.
- [13] Prabhanjan Ananth, Alexander Poremba, and Vinod Vaikuntanathan. Revocable cryptography from learning with errors. In Theory of Cryptography Conference, pages 93–122. Springer, 2023. doi:10.1007/978-3-031-48624-1_4.
- [14] Prabhanjan Ananth, Luowen Qian, and Henry Yuen. Cryptography from pseudorandom quantum states. In Annual International Cryptology Conference, pages 208–236. Springer, 2022. doi:10.1007/978-3-031-15802-5_8.
- [15] James Bartusek and Dakshita Khurana. Cryptography with certified deletion. In Advances in Cryptology – CRYPTO 2023: 43rd Annual International Cryptology Conference, CRYPTO 2023, Santa Barbara, CA, USA, August 20–24, 2023, Proceedings, Part V, pages 192–223, Berlin, Heidelberg, 2023. Springer-Verlag. doi:10.1007/978-3-031-38554-4_7.
- [16] James Bartusek, Dakshita Khurana, Giulio Malavolta, Alexander Poremba, and Michael Walter. Weakening assumptions for publicly-verifiable deletion. Cryptology ePrint Archive, Paper 2023/559, 2023. URL: https://eprint.iacr.org/2023/559.
- [17] James Bartusek, Dakshita Khurana, and Alexander Poremba. Publicly-verifiable deletion via target-collapsing functions. In Advances in Cryptology – CRYPTO 2023: 43rd Annual International Cryptology Conference, CRYPTO 2023, Santa Barbara, CA, USA, August 20–24, 2023, Proceedings, Part V, pages 99–128, Berlin, Heidelberg, 2023. Springer-Verlag. doi:10.1007/978-3-031-38554-4_4.
- [18] Amit Behera, Zvika Brakerski, Or Sattath, and Omri Shmueli. Pseudorandomness with proof of destruction and applications. In Theory of Cryptography Conference, pages 125–154. Springer, 2023. doi:10.1007/978-3-031-48624-1_5.
- [19] G. Bertoni, J. Daemen, M. Peeters, and G. Van Assche. Cryptographic sponge functions. Submission to NIST (Round 3), 2011. URL: http://sponge.noekeon.org/CSF-0.1.pdf.
- [20] G. Bertoni, J. Daemen, M. Peeters, and G. Van Assche. The keccak sha-3 submission. Submission to NIST (Round 3), 2011. URL: http://keccak.noekeon.org/Keccak-submission-3.pdf.
- [21] John Bostanci, Yuval Efron, Tony Metger, Alexander Poremba, Luowen Qian, and Henry Yuen. Unitary complexity and the uhlmann transformation problem, 2023. doi:10.48550/arXiv.2306.13073.
- [22] John Bostanci, Jonas Haferkamp, Dominik Hangleiter, and Alexander Poremba. Efficient quantum pseudorandomness from hamiltonian phase states, 2024. doi:10.48550/arXiv.2410.08073.
- [23] Zvika Brakerski and Omri Shmueli. (pseudo) random quantum states with binary phase. In Theory of Cryptography Conference, pages 229–250. Springer, 2019. doi:10.1007/978-3-030-36030-6_10.
- [24] Anne Broadbent and Rabib Islam. Quantum encryption with certified deletion. In Theory of Cryptography: 18th International Conference, TCC 2020, Durham, NC, USA, November 16–19, 2020, Proceedings, Part III 18, pages 92–122. Springer, 2020. doi:10.1007/978-3-030-64381-2_4.
- [25] Anne Broadbent, Stacey Jeffery, Sébastien Lord, Supartha Podder, and Aarthi Sundaram. Secure software leasing without assumptions. In Theory of Cryptography Conference, pages 90–120. Springer, 2021. doi:10.1007/978-3-030-90459-3_4.
- [26] Anne Broadbent and Sébastien Lord. Uncloneable quantum encryption via oracles. arXiv preprint, 2019. arXiv:1903.00130.
- [27] Alper Çakan and Vipul Goyal. Unclonable cryptography with unbounded collusions. Cryptology ePrint Archive, 2023.
- [28] Orestis Chardouvelis, Vipul Goyal, Aayush Jain, and Jiahui Liu. Quantum key leasing for pke and fhe with a classical lessor. arXiv preprint, 2023. arXiv:2310.14328.
- [29] Google Cloud. Key rotation, 2024. URL: https://cloud.google.com/kms/docs/key-rotation.
- [30] Andrea Coladangelo, Jiahui Liu, Qipeng Liu, and Mark Zhandry. Hidden cosets and applications to unclonable cryptography. In Advances in Cryptology – CRYPTO 2021: 41st Annual International Cryptology Conference, CRYPTO 2021, Virtual Event, August 16–20, 2021, Proceedings, Part I, pages 556–584, Berlin, Heidelberg, 2021. Springer-Verlag. doi:10.1007/978-3-030-84242-0_20.
- [31] Andrea Coladangelo, Christian Majenz, and Alexander Poremba. Quantum copy-protection of compute-and-compare programs in the quantum random oracle model. Quantum, 8:1330, May 2024. doi:10.22331/q-2024-05-02-1330.
- [32] DGBJ Dieks. Communication by epr devices. Physics Letters A, 92(6):271–272, 1982.
- [33] Tudor Giurgica-Tiron and Adam Bouland. Pseudorandomness from subset states. arXiv preprint, 2023. doi:10.48550/arXiv.2312.09206.
- [34] Fernando Granha Jeronimo, Nir Magrafta, and Pei Wu. Subset states and pseudorandom states. arXiv preprint, 2023. doi:10.48550/arXiv.2312.15285.
- [35] Zhengfeng Ji, Yi-Kai Liu, and Fang Song. Pseudorandom quantum states. In Advances in Cryptology–CRYPTO 2018: 38th Annual International Cryptology Conference, Santa Barbara, CA, USA, August 19–23, 2018, Proceedings, Part III 38, pages 126–152. Springer, 2018. doi:10.1007/978-3-319-96878-0_5.
- [36] Masaru Kada, Harumichi Nishimura, and Tomoyuki Yamakami. The efficiency of quantum identity testing of multiple states. Journal of Physics A: Mathematical and Theoretical, 41(39):395309, 2008.
- [37] Dakshita Khurana and Kabir Tomer. Commitments from quantum one-wayness. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing, pages 968–978, 2024. doi:10.1145/3618260.3649654.
- [38] Fuyuki Kitagawa, Ryo Nishimaki, and Takashi Yamakawa. Secure software leasing from standard assumptions. In Theory of Cryptography Conference, pages 31–61. Springer, 2021. doi:10.1007/978-3-030-90459-3_2.
- [39] Jiahui Liu, Qipeng Liu, Luowen Qian, and Mark Zhandry. Collusion resistant copy-protection for watermarkable functionalities. In Theory of Cryptography Conference, pages 294–323. Springer, 2022. doi:10.1007/978-3-031-22318-1_11.
- [40] Tony Metger, Alexander Poremba, Makrand Sinha, and Henry Yuen. Simple constructions of linear-depth t-designs and pseudorandom unitaries, 2024. doi:10.48550/arXiv.2404.12647.
- [41] Tomoyuki Morimae, Alexander Poremba, and Takashi Yamakawa. Revocable quantum digital signatures. arXiv preprint, 2023. arXiv:2312.13561.
- [42] Tomoyuki Morimae and Takashi Yamakawa. One-wayness in quantum cryptography. arXiv preprint, 2022. arXiv:2210.03394.
- [43] Tomoyuki Morimae and Takashi Yamakawa. Quantum commitments and signatures without one-way functions. In Annual International Cryptology Conference, pages 269–295. Springer, 2022. doi:10.1007/978-3-031-15802-5_10.
- [44] Alexander Poremba. Quantum proofs of deletion for learning with errors. arXiv preprint, 2022. arXiv:2203.01610.
- [45] Ronald L Rivest. Can we eliminate certificate revocation lists? In Financial Cryptography: Second International Conference, FC’98 Anguilla, British West Indies February 23–25, 1998 Proceedings 2, pages 178–183. Springer, 1998. doi:10.1007/BFB0055482.
- [46] Stuart G Stubblebine. Recent-secure authentication: Enforcing revocation in distributed systems. In Proceedings 1995 IEEE Symposium on Security and Privacy, pages 224–235. IEEE, 1995. doi:10.1109/SECPRI.1995.398935.
- [47] Dominique Unruh. Revocable quantum timed-release encryption. Cryptology ePrint Archive, Paper 2013/606, 2013. doi:10.1145/2817206.
- [48] Stephen Wiesner. Conjugate coding. SIGACT News, 15(1):78–88, January 1983. doi:10.1145/1008908.1008920.
- [49] Wikipedia. Certificate revocation, 2024. URL: https://en.wikipedia.org/wiki/Certificate_revocation.
- [50] William K Wootters and Wojciech H Zurek. A single quantum cannot be cloned. Nature, 299(5886):802–803, 1982.
- [51] Mark Zhandry. A note on quantum-secure prps, 2016. arXiv:1611.05564.
- [52] Mark Zhandry. Quantum lightning never strikes the same state twice. or: quantum money from cryptographic assumptions. Journal of Cryptology, 34:1–56, 2021.
