






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Zvi Gam l. 2. 3 Stuart Haberl. 3 Moti Yung l• 3. 4
I Department of Computer Science, Columbia University 2 Department of Computer Science, Tel Aviv University
Summary
Public-key encryption would seem to be inherently assymmetric. in that only messages sent to a user can be encrypted using his public key. We demonstrate that the use of interactive protocols for sending encrypted messages enables a symmetric use of public keys; we give cryptographic protocols for the following tasks:
3 Supported in part by NSF grants MCS-8303139 and DCR-8511713. 4 Supported in part by an IBM graduate fellowship.
As introduced by Diffie and Hellman and further studied by many authors, public-key encryption would seem to be inherently assymrnetric: messages sent to user A are encrypted using A's public key [6, 16]. This is true both for deterministic [15, 13] and for probabilistic [8, 3, 5] implementations of the Diffie-Hellman model.
In this paper we suggest that users follow an interactive protocol in order 10 send probabilistically encoded messages, and show how this allows the symmetric use of public keys. A's public key will be used to encode messages that are sent to A as well as to encode messages that A sends to others, without compromising the key. We contrast our protocol with previous interactive schemes, in which public-key encryption was used in order to distribute additional private keys that could be used symmetrically by pairs of users [9, 18]; our scheme enables symmetric use of the public key itself.
This capability is useful in a number of cryptographic settings. For example. it enables a casual user who is not registered in the central file of public keys to receive a private message. It can also be used in a cryptographic network with a trusted central server, through which all messages are routed; here only a single public key is needed (cf. [12]).
We extend our scheme so as to enable the symmetric authentication of an encoded message --- that is, the authentication both of the sender and of the receiver of the message. This is the first such scheme, in the setting of probabilistic encryption, that uses only the encryption keys.
Probabilistic encryption was proposed in order to hide from an eavesdropper all partial information about an encoded message. However, all of the systems discussed in the literature are vulnerable to chosen-ciphertext attack. We give a refinement of our protocol (based on [11)) which is provably secure against chosen-ciphertext attack. In addition. we give another symmetric public-key encryption scheme, this one based on a minimum-knowledge interactive proof-system. which is also chosen-ciphertext secure [7].
In the model introduced by Diffie and Hellman, each user A in a public-key crypto-system has a public encryption algorithm E and a private decryption algorithm D. Any other user encrypts a message M that he wishes to send to A by computing the ciphertext E(M); only A is capable of computing D(E(M») ~ M to recover the original message [15, 13]. In order that the ciphertext reveal no partial information about the message, it has been suggested that E and D be probabilistic algorithms [8, 3, 5].
We would like A to be able to use her own public key in order to send an encrypted message to another user B. In order to do this securely, so that no other users can decrypt the message, it seems necessary to make the transfer of a message depend on an interactive protocol between A and B. In this way B can help to choose the random input to the probabilistic encryption and decryption algorithms. In the next section we will show how to implement this idea; first we sketch the methods of probabilistic encryption that we will use.
The security of the protocols that we discuss in this paper relies on the existence of hard bits, that is. Boolean predicates B for which there is an efficient reduction to B of an assumedly intractable number-theoretic problem.
one chooses x E ZN· at random and sends either xl mod N (a random residue) or yxl mod N (a random non-residue),
Protocoll In the 'forward' or usual direction. B chooses an element;c E D at random. and computes pad(x}, C = pad(;c) e M, and X = j+^1 (;c). B sends to A the encryption of M, namely the pair [C, XJ. A can decode by computing;c = rl+I)(X) and ce pad(;c) =M.
Protocol 2
!..J I
Notice that the information that is available to the eavesdropping adversary, namely X (which serves as an
Under known-message attack, the present scheme is as secure as the problem of invertingf. To be more precise, assume that an eavesdropper witnesses polynomially many executions of one or both of the above pr()(ocols (polynomial in 11), and that he knows the message Mj that was sent in the ith execution (either sent by user Bj to A. following Protocol 1, or sent by A to user Bj , following Protocol 2). Suppose that, after some polynomially bounded computation, the eavesdropper is able either (a) to correctly simulate the behavior of A in order to send a message of his (the eavesdropper's) choice; or (b) to decode (with probability non-negligibly better than 112) one bit of the next message that A sends or receives. Then our eavesdropper must be able to computerl^ quickly. The proof relies on the (polynomial-time) indistinguishability of the pseudo-random bits of pad(x) from truly random bits.
We now show how the bit-by-bit probabilistic encryption scheme of Goldwasser and Micali can also be adapted so as to encode messages either to or from the owner ofa public key. Let user A have the public key (N,y).
As in the original scheme, user B can send a message M to A by probabilistica1ly computing an element e E EN (^) ,'1(M) and sending it to A. Knowing the trapdoor information, A can recover M from e. We will call this Protocol 1·.
In order for A to send an I-bit message M to B, the two users execute the following pf()(ocol.
Protocol 2·
As before, ProCDcoI2· is as secure as encryption in the usual direction.
An immediate application of these protocols is to allow encoded messages to be sent to casual users in a network without requiring that they undergo any special procedure such as having a key registered in a public-key library.
If a network includes a trusted central server, then any message can be sent via the server, encoded using the server's public key; when A wants to send a message to B, she sends it to the server using Protocol 1, and the server
computes pad(y), Y -fBI+I(y), andC =MEBpad(x)$pad(y)
B is as hard as invertingfA orfs' respectively.
s. Chosen-Ciphertext Security
In a chosen-ciphertext attack, the adversary is allowed to have a ciphertext of his choice decrypted. Several
vulnerable to the chosen-ciphertext attack. In this section we show how introducing interaction to the cryptosystem enables us, for the first time, to achieve provable security against this attack.
message, can cheat in the following way. Instead of choosing x at random in D and continuing with the protocol. B
However, B does know all but the first bit of pad(x). A, suspecting nothing amiss, sends B the encryption pad(x) EB M, all but the first bit of which B can easily decode. If the context of the message allows B to infer the value of that fIrst bit, then he has learned the value of the hard bit b (^) l .B-rl(y) of a number y of his choice. Since our original assumption was that invertingf is efficiently reducible to B- rl, this is a successful attack.
pad(x) -
~ ... (^) ~ 1-^2 (y) ~ X -j-I(y)-I+I(x) ,J,
work of [11], is due to Silvio Mica~L
Protocol 4
This protocol is secure against an eavesdropper: furthermore, it is secure against chosen<iphertext attack by B. The protocol ensures that if A does nO( halt the transaction, detecting cheating, then with very high probability B has not cheated. In fact. the refinement may be regarded as a protocol during which B proves to A that he knows the number x, without gaining any additionallmowledge -- for example, about the integer N. (Such a protocol is called a minimu.m-Icnowledge inleractive proof sySlem [11, 7].)
The same protocol will work. mulatis mUiandis, as long as D is a group (in which we can compute efficiently) and f is an automorphism of the group.
We now sketch another solution to the problem of the chosen<iphertext attack. In order to avoid any chance that A's public key be compromised by B's clever choice of random input to a probabilistic encryption protocol. we require that A choose the input: we proceed as follows. The solution has two stages. In the first stage, A chooses a sequence of random bits and transmits them one by one to B: these transmissions, of course, must be cryptographically secure. This can be accomplished by means of the minirnum-Imowledge protocol introduced in [7]; following this protocol, A can prove to B the value of a Boolean predicate in such a way that no eavesdropper
sequence of bits can be used as the seed for a pseudo-random bit-generator; in this way, A and B simulate a shared one-time pad (of length polynomial in the length of the seed exchanged in the first stage).
By extending the capabilities of public-key encryption, we have demonstrated the power that interaction adds to the capabilities of cryptographic systems. Funher study of interactive protocols promises to be of great use to cryptography. We take note here of the work of Rackoff in rigorous modeling of cryptosystems. including interaction [14].
The problem remains open of specifying a cryptosystem which does flOt use interaction and proving it secure against chosen<iphertext attack. Perhaps a first step in this direction would be to allow some sort of limited interaction. For example, in the signature scheme of [10], which is secure against the analogous attack. the dependence of any signature on the history of previously signed messages (or on a random· function construction) may be regarded as an insWlCe of interaction with that history (or with the random· function generator).
Acknowledgments
We would like to thank Silvio Micali for his encouragement of and major contributions to this work.
In Crypto '84. 1984.