Unconditional Security in Classical Cryptography

Total Page:16

File Type:pdf, Size:1020Kb

Unconditional Security in Classical Cryptography Masarykova universita, Fakulta informatiky Diplomová práce Unconditional Security in Classical Cryptography Petr Štika 2010 Prohlášení Prohlašuji, že tato práce je mým původním autorským dílem, které jsem vypracoval samostatně. Všechny zdroje, prameny a literaturu, které jsem při vypracování používal nebo z nich čerpal, v práci řádně cituji s uvedením úplného odkazu na příslušný zdroj. Brno 2010 Děkuji RNDr. Janu Boudovi, Ph.D. za odborné vedení diplomové práce a poskytování cenných rad při jejím zpracování. 2 Abstract This thesis focuses on classical cryptography, its primitives and their security, especially for the purposes of unconditional security. In recent years, the use of cryptography has increased dramatically, accompanied by growing attention from across the field of computer science. Despite the invention of quantum computing and the introduction of quantum cryptography, classical cryptography is still relevant. The work explores various cryptographic primitives and studies and presents results about their relative security. This thesis concludes that unconditional security in classical cryptography is possible and satisfactory. In the opening chapter it provides an overview of cryptography and its history, then it gives some of the cryptographic basics so that we are finally able to focus on the topic of this work – the unconditionally security of specific cryptographic primitives. Quantum cryptography and the possibility of limiting the ability of adversaries to gain desirable security properties are also mentioned. In the end there is described the result of this work – remarks and conclusions. Keywords classical cryptography, private key cryptography, public key cryptography, unconditional security, cryptographic primitives, anonymous transfer, authentication, bit commitment, blind signatures, Byzantine agreement, encryption, coin tossing, digital signatures, digital pseudosignatures, key exchange, oblivious transfer, secret sharing 3 Contents 1 Introduction...........................................................................................................................6 1.1 Background of this Work................................................................................................6 2 The Basics of Cryptography.................................................................................................9 2.1 Private Key Cryptography...............................................................................................9 2.2 The Probability Theory.................................................................................................10 2.3 Entropy..........................................................................................................................12 2.4 Unconditional Security..................................................................................................13 2.4.1 Using Quantum Cryptography...............................................................................14 2.4.2 Limiting the Adversary..........................................................................................15 2.5 Public Key Cryptography..............................................................................................15 2.6 Conclusion....................................................................................................................16 3 Cryptographic Primitives...................................................................................................17 3.1 Encryption.....................................................................................................................17 3.1.1 The Shift Cipher....................................................................................................17 3.1.2 One-time Pad.........................................................................................................19 3.2 Authentication...............................................................................................................21 3.2.1 Wegman-Carter Authentication ............................................................................21 3.3 Anonymous Transfer ....................................................................................................28 3.3.1 DC-net...................................................................................................................28 3.3.2 DC-net Protocol with Waidner-Pfitzmann's Improvements...................................30 3.4 Bit Commitment............................................................................................................34 3.4.1 Security of Bit Commitment Schemes...................................................................34 3.4.2 Examples of Bit Commitment Protocols...............................................................35 3.5 Digital Signatures..........................................................................................................39 3.5.1 Pseudosignatures...................................................................................................40 3.5.2 Blind Signatures....................................................................................................42 3.6 Byzantine Agreement....................................................................................................46 3.6.1 Byzantine Agreement Problem..............................................................................46 3.6.2 Byzantine Agreement Protocol with Pseudosignatures.........................................47 3.7 Coin Tossing.................................................................................................................49 3.7.1 Blum's Coin Flipping Protocol..............................................................................49 3.7.2 Perfectly Secure Coin Tossing Using Bit Commitment........................................50 3.8 Key Exchange...............................................................................................................51 3.8.1 Key Predistribution Protocol.................................................................................51 4 3.8.2 Key Distribution and Agreement Protocols ..........................................................53 3.9 Oblivious Transfer ........................................................................................................55 3.9.1 1-out-of-2 Oblivious Transfer Based on Blind Signatures....................................55 3.9.2 Oblivious Transfer with Trusted Initializer...........................................................56 3.10 Secret Sharing.............................................................................................................57 4 Conclusion............................................................................................................................58 5 Bibliography........................................................................................................................59 5 1 Introduction In recent years, the use of cryptography has increased dramatically. Every time a person buys something with a credit card, uses online banking, sends a password to access his e-mail, he uses cryptography. With this growth, it is not surprising the interest of academics and professionals has grown accordingly. Classical cryptography can be traced to the Ancient Greeks, but started to be widely used during the Second World War. New developments in the field have concentrated on the potential use of quantum computers for the purposes of cryptography. Because of the invention of quantum computing and the introduction of quantum cryptography, it may appear that classical cryptography is obsolete. This thesis will show that this is not the case. Cryptographic primitives of classical cryptography can provide unconditional security in situations where quantum cryptography cannot achieve it. There are existing primitives which are unconditionally secure, and if not, ways how to make present ones unconditionally secure are investigated, as will be shown later. As the author has already indicated, the scope of this work is the unconditional security of primitives in classical cryptography. The author is of the opinion that there is lack of studies exploring in depth the use of classical cryptography, and that cryptography's desired property – unconditional security – is poorly researched in comparison to the enormous current research in the field of quantum computing. This thesis concludes that unconditional security in classical cryptography is possible and satisfactory. The main contribution of this thesis to the field is mapping and summarizing current research results in the unconditional security in classical cryptography, as this topic is in our opinion not completely and exhaustively studied and presented. The text is divided into four chapters. After a brief introduction into the subject, the second chapter defines the fundamental elements of cryptography. The third part describes cryptographic primitives while the fourth chapter summarizes the results. The analysis is to determine whether cryptographic primitives can be unconditionally secure or not, and if not, what “workaround” may be presented. 1.1 Background of this Work Cryptography – in Greek this word means "hidden writing" – is an old discipline, primarily used for secure exchanging of information between parties. The main objective is to prevent a potential adversary from understanding this communication, which has been widely used especially by the military
Recommended publications
  • Anonymous Credentials and E-Cash
    Anonymous Credentials and e-Cash Jan Camenisch Principle Researcher; TL Cryptography & Privacy IBM Research – Zurich @JanCamenisch ibm.biz/jancamenisch Facts 33% of cyber crimes, including identity theft, take less time than to make a cup of tea. Facts 10 Years ago, your identity information on the black market was worth $150. Today…. Facts $15'000'000'000 cost of identity theft worldwide (2015) Attackers hide easily in the vast of cyberspace ᄅ Houston, we have a problem! The Problem is This: Computers Never Forget # Data is stored by default # Data mining gets ever better # Apps built to use & generate (too much) data # New (ways of) businesses using personal data # Humans forget most things too quickly # Paper collects dust in drawers # But that’s how we design and build applications! Where's all my data? The ways of data are hard to understand # Devices, operating systems, & apps are getting more complex and intertwined # Mashups, Ad networks # Machines virtual and realtime configured # Not visible to users, and experts # Data processing changes constantly → No control over data and far too easy to loose them IoT makes this even worse! The problem is this… Learnings from Snowden – Take Aways NSA collects massive amounts of data Not by breaking encryption schemes! But by openness & insecurity of systems, infiltration, ... # However, Snowden had limited access to docs (no crypt-analysis reports) Many things doable by ordinary hackers or somewhat sophisticated crooks # CA compromise # Stealing data at rest # Extortion, system manipulations,.
    [Show full text]
  • Conditional Blind Signatures
    Conditional Blind Signatures Alexandros Zacharakis, Panagiotis Grontas, and Aris Pagourtzis School of Electrical and Computer Engineering National Technical University of Athens, 15780 Athens, Greece [email protected], [email protected], [email protected] Abstract. We propose a novel cryptographic primitive called condi- tional blind signatures. Our primitive allows a user to request blind sig- natures on messages of her choice. The signer has a secret Boolean input which determines if the supplied signature is valid or not. The user should not be able to distinguish between valid and invalid signatures. A desig- nated verifier, however, can tell which signatures verify correctly, and is in fact the only entity who can learn the secret input associated with the (unblinded) signed message. We instantiate our primitive as an extension of the Okamoto-Schnorr blind signature scheme and provide variations to fit different usage scenarios. Finally, we analyze and prove the security properties of the new scheme and explore potential applications. Keywords: digital signatures, blind signatures, designated verifier sig- natures 1 Introduction Digital signatures, proposed in [1], are one of the most successful public key cryptographic primitives. A user U submits a message to a signer S, who ap- plies a function of his secret signing key sk and generates a signature that can be verified by everybody that possesses the corresponding public verification key vk. They allow message integrity, authenticity and non repudiation in a publicly verifiable manner. A digital signature scheme is secure if no probabilistic adver- sary A, running in polynomial time (PPT), can output a forgery of a signature, i.e.
    [Show full text]
  • On the Security of One-Witness Blind Signature Schemes
    On the Security of One-Witness Blind Signature Schemes Foteini Baldimtsi and Anna Lysyanskaya? Department of Computer Science, Brown University, Providence, RI, USA [email protected], [email protected] Abstract. Blind signatures have proved an essential building block for applications that protect privacy while ensuring unforgeability, i.e., elec- tronic cash and electronic voting. One of the oldest, and most efficient blind signature schemes is the one due to Schnorr that is based on his fa- mous identification scheme. Although it was proposed over twenty years ago, its unforgeability remains an open problem, even in the random- oracle model. In this paper, we show that current techniques for proving security in the random oracle model do not work for the Schnorr blind signature by providing a meta-reduction which we call \personal neme- sis adversary". Our meta-reduction is the first one that does not need to reset the adversary and can also rule out reductions to interactive assumptions. Our results generalize to other important blind signatures, such as the one due to Brands. Brands' blind signature is at the heart of Microsoft's newly implemented UProve system, which makes this work relevant to cryptographic practice as well. Keywords: Blind signatures, meta-reduction technique, unforgeability, random oracle model. 1 Introduction In a blind signature scheme, first introduced by Chaum in 1982 [16], a user can have a document signed without revealing its contents to the signer, and in such a way that the signer will not be able to recognize it later, when he sees the signature. Blind signatures have proven to be a very useful building block in applications requiring both anonymity and unforgeability, such as e-cash and anonymous credentials [12{15, 27].
    [Show full text]
  • Achieving Electronic Privacy a Cryptographicinvention Known As a Blind Signature Permits Numbers to Serve As Electronic Cash Or to Replace Conventional Identification
    Achieving Electronic Privacy A cryptographic invention known as a blind signature permits numbers to serve as electronic cash or to replace conventional identification. The author hopes it may return control of personal information to the individual by David Chaum very time you make a telephone murderers have tracked down their tar­ cessors capable of carrying out the nec­ call, purchase goods using a cred­ gets by consulting government-main­ essary algorithms have already been it card, subscribe to a magazine tained address records. On another lev­ embedded in pocket computers the size or pay your taxes, that information goes el, the U.S. Internal Revenue Service has and thickness of a credit card. Such sys­ intoE a data base somewhere. Further­ attempted to single out taxpayers for tems have been tested on a small scale more, all these records can be linked audits based on estimates of house­ and could be in widespread use by the so that they constitute in effect a sin­ hold income compiled by mailing-list middle of this decade. gle dossier on your life-not only your companies. medical and financial history but also The growing amounts of information he starting point for this ap­ what you buy, where you travel and that different organizations collect proach is the digital Signature, whom you communicate with. It is al­ about a person can be linked because first proposed in 1976 by Whit­ most impossible to learn the full extent all of them use the same key-in the field Diffie, then at Stanford University. of the files that various organizations U.S.
    [Show full text]
  • A New Blind ECDSA Scheme for Bitcoin Transaction Anonymity
    A New Blind ECDSA Scheme for Bitcoin Transaction Anonymity Xun Yi 1;2, Kwok-Yan Lam 2 and Dieter Gollmann 2;3 1RMIT University, Australia, E-mail: [email protected] 2Nanyang Technological University, Singapore, E-mail: [email protected] 3Hamburg University of Technology, Germany, E-mail: [email protected] Abstract. In this paper, we consider a scenario where a bitcoin liquid- ity provider sells bitcoins to clients. When a client pays for a bitcoin online, the provider is able to link the client's payment information to the bitcoin sold to that client. To address the clients' privacy concern, it is desirable for the provider to perform the bitcoin transaction with blind signatures. However, existing blind signature schemes are incom- patible with the Elliptic Curve Digital Signature Algorithm (ECDSA) which is used by most of the existing bitcoin protocol, thus cannot be applied directly in Bitcoin. In this paper, we propose a new blind signa- ture scheme that allows generating a blind signature compatible with the standard ECDSA. Afterwards, we make use of the new scheme to achieve bitcoin transaction anonymity. The new scheme is built on a variant of the Paillier cryptosystem and its homomorphic properties. As long as the modified Paillier cryptosystem is semantically secure, the new blind signature scheme has blindness and unforgeability. Keywords: Blind signature, ECDSA, Paillier cryptosystem, Bitcoin, Blockchain 1 Introduction Bitcoin is a peer-to-peer payment system and digital currency introduced as open source software by pseudonymous developer Satoshi Nakamoto [14]. In January 2009, the bitcoin network came into existence with the release of the first bitcoin client and the issuance of the first bitcoins.
    [Show full text]
  • A GOST-Like Blind Signature Scheme Based on Elliptic Curve Discrete Logarithm Problem
    1 A GOST-like Blind Signature Scheme Based on Elliptic Curve Discrete Logarithm Problem Hossein Hosseini, Behnam Bahrak* and Farzad Hessar** *Electrical Engineering Department, Virginia Tech University **Electrical Engineering Department, University of Washington h [email protected], *[email protected], **[email protected] Abstract In this paper, we propose a blind signature scheme and three practical educed schemes based on elliptic curve discrete logarithm problem. The proposed schemes impart the GOST signature structure and utilize the inherent advantage of elliptic curve cryptosystems in terms of smaller key size and lower computational overhead to its counterpart public key cryptosystems such as RSA and ElGamal. The proposed schemes are proved to be secure and have less time complexity in comparison with the existing schemes. Index Terms Blind Signature, Elliptic Curve, GOST Signature, Unforgeability, Blindness. I. INTRODUCTION Blind signature is a form of digital signature in which the message is blinded before it is signed, in order to allow the requester to get a signature without giving the signer any information about the actual message or the resulting signature. Blind signatures are used to build practical offline and online untraceable electronic cash schemes [1]–[4] and widely employed in privacy-related cryptographic protocols, such as electronic election systems [5]. The paper arXiv:1304.2094v1 [cs.CR] 8 Apr 2013 analogy to the blind signature is enclosing a ballot in a carbon paper lined envelope; In this way, the signer does not view the message content, and also everyone can later check the validity of the signature. Several blind signature schemes are proposed in the literature.
    [Show full text]
  • Group Blind Digital Signatures: a Scalable Solution to Electronic Cash
    Group Blind Digital Signatures: A Scalable Solution to Electronic Cash Anna Lysyanskaya1 and Zulfikar Ramzan1 Laboratory for Computer Science, Massachusetts Institute of Technology, Cambridge MA 02139, {anna, zulfikar}@theory.lcs.mit.edu Abstract. In this paper we construct a practical group blind signature scheme. Our scheme combines the already existing notions of blind signa- tures and group signatures. It is an extension of Camenisch and Stadler’s Group Signature Scheme [5] that adds the blindness property. We show how to use our group blind signatures to construct an electronic cash system in which multiple banks can securely distribute anonymous and untraceable e-cash. Moreover, the identity of the e-cash issuing bank is concealed, which is conceptually novel. The space, time, and com- munication complexities of the relevant parameters and operations are independent of the group size. 1 Introduction 1.1 Distributed Electronic Banking Consider a scheme in which there is a large group of banks, monitored by the country’s Central Bank (e.g. the US Treasury), where each bank can dispense electronic cash. We want such a scheme to have the following properties: 1. No bank should be able to trace any e-cash it issues. Therefore, just as with paper money, people can spend their e-cash anonymously. 2. A vendor only needs to invoke a single universal verification procedure, based on the group public key, to ensure the validity of any e-cash he receives. This procedure works regardless of which bank issued the e-cash. This makes the vendor’s task much easier since he only needs to know the single group public key.
    [Show full text]
  • A Practical Multivariate Blind Signature Scheme
    A Practical Multivariate Blind Signature Scheme Albrecht Petzoldt1, Alan Szepieniec2, Mohamed Saied Emam Mohamed3 [email protected], [email protected], [email protected] 1 Kyushu University, Fukuoka, Japan & NIST, USA 2 KU Leuven, ESAT/COSIC & imec, Belgium 3 Technische Universit¨atDarmstadt, Germany Abstract. Multivariate Cryptography is one of the main candidates for creating post-quantum cryptosystems. Especially in the area of digital signatures, there exist many practical and secure multivariate schemes. However, there is a lack of multivariate signature schemes with special properties such as blind, ring and group signatures. In this paper, we propose a technique to transform the Rainbow multivariate signature schemes into a blind signature scheme. The resulting scheme satisfies the usual blindness criterion and a one-more-unforgeability criterion adapted to MQ signatures, produces short blind signatures and is very efficient. Keywords: Multivariate Cryptography, Blind Signatures, Rainbow Signature Scheme 1 Introduction Cryptographic techniques are an essential tool to guarantee the security of com- munication in modern society. Today, the security of nearly all of the crypto- graphic schemes used in practice is based on number theoretic problems such as factoring large integers and solving discrete logarithms. The best known schemes in this area are RSA [25], DSA [14] and ECC. However, schemes like these will become insecure as soon as large enough quantum computers are built. The rea- son for this is Shor's algorithm [29], which solves number theoretic problems like integer factorization and discrete logarithms in polynomial time on a quantum computer. Therefore, one needs alternatives to those classical public key schemes which are based on hard mathematical problems not affected by quantum com- puter attacks (so called post-quantum cryptosystems).
    [Show full text]
  • Off-Line Digital Cash Schemes Providing Unlinkability, Anonymity
    Off-line Digital Cash Schemes Providing Unlinkability, Anonymity and Change Lynn Batten1and Xun Yi2 1School of Information Technology, Deakin University, Australia 2School of Computer Science and Software Engineering, RMIT University, Melbourne, Australia Abstract Several ecash systems have been proposed in the last twenty years or so, each offering features similar to real cash. One feature which to date has not been provided is that of a payee giving change to a payer for an e-coin in an off-line setting. In this paper, we indicate how an off-line ecash system can solve the change-giving problem. In addition, our protocol offers the usual expected features of anonymity and unlinkability of the payer, but can reveal the identity of an individual who illegally tries to spend ecash twice. Keywords: Digital money, group blind signature, double spending 1. Introduction Computer-based technology is significantly impacting our ability to ac- cess, store and distribute information. Among the most important uses of this technology is electronic commerce: performing financial transactions via electronic information exchanged over telecommunications lines. In particu- lar, the development of secure and efficient ecash systems has been given a great deal of attention in recent years [3], [4], [9], [10]. Electronic commerce systems come in many forms including digital checks, debit cards, credit cards, and stored value cards. The usual security features for such systems are unforgeability, customer anonymity, and detection of double spending by the customer. The type of electronic payment system we focus on here is ecash. Ecash (also called digital cash) is a term that is still not well defined in the research literature; rather, attempts to define it have been by listing desired charac- teristics.
    [Show full text]
  • Digital Signatures
    Cryptography CS 555 Topic 22: Digital Schemes (2) CS555 Topic 22 1 Outline and Readings • Outline • The DSA Signature Scheme • Lamport’s one-time signature • Blind signature • Readings: • Katz and Lindell: Chapter 12.1- 12.4 CS555 Topic 22 2 Digital Signature Algorithm (DSA) Also known as Digital Signature Standard (DSS) Key generation • Select two prime numbers (p,q) such that q | (p-1) • Early standard recommended p to be between 512 and 1024 bits, and q to be 160 bits • Current recommendation for length: (1024,160), (2048,224), (2048,256), and (3072,256). – The size of q must resist exhaustive search – The size of p must resist discrete log * • Choose g to be an element in Zp with order q * (p-1)/q – Let be a generator of Zp , and set g = mod p • Select 1 x q-1; Compute y = gx mod p Public key: (p, q, g, y) Private key: x CS555 Topic 22 3 DSA Signing message M: • Select a random integer k, 0 < k < q • Compute r = (gk mod p) mod q s = k-1 ( h(M) + xr) mod q • Signature: (r, s) – Signature consists of two 160-bit numbers, when q is 160 bit CS555 Topic 22 4 DSA Signature: (r, s) r = (gk mod p) mod q s = k-1 ( h(M) + xr) mod q Verification • Verify 0 < r < q and 0 < s < q, if not, invalid • Compute -1 u1 = h(M)s mod q, -1 u2 = rs mod q • Valid iff r = (gu1 yu2 mod p) mod q gu1 yu2 = gh(M)s^{-1} gxr s^{-1} = g(h(M)+xr)s^{-1} = gk (mod p) CS555 Topic 22 5 DSA Security • The value k must be unique and unpredictable.
    [Show full text]
  • Blind Signature Schemes.Pdf
    A simple forward secure blind signature scheme based on master keys and blind signatures Yeu-Pong Lai † Chin-Chen Chang †Department of Computer Science and Information Engineering, National Defence University, Chung Cheng Institute of Technology, Tauyuan, Taiwan, 335. Email: [email protected] Department of Computer Science and Information Engineering, National Chung Cheng University, Chaiyi, Taiwan, 621. Email: [email protected] Abstract tackers can be prevented, these cryptosystems can per- form correctly and securely. However, some cryptosys- The forward secure property is important in digi- tems may not be secure if the secret information is re- tal signature schemes. Many schemes have been pro- vealed or detected. Furthermore, these cryptosystems posed for the forward secure signature. Among them, may cause confusion. For instance, in digital signature only a few have been proposed for the forward secure schemes, when the secret key of a signer is revealed or blind signature. The blind signature is, however, a crit- stolen, others who know the secret key can counterfeit ical technique in e-business and other applications and the digital signatures of this signer. The signer, how- , thus, more research should be devoted on it. This pa- ever, cannot withdraw all the digital signatures indis- per focuses on the design of forward secure blind sig- criminately, because some signatures are indeed signed nature schemes. Digital signature schemes have been by the signer. The forward secure property ensures that proposed and discussed for years. Some of them are ef- these signatures, signed before the secret key was re- ficient and secure. Even specific computing hardware vealed, are valid.
    [Show full text]
  • Round-Optimal Composable Blind Signatures in the Common Reference String Model
    Round-Optimal Composable Blind Signatures in the Common Reference String Model Marc Fischlin? Darmstadt University of Technology, Germany marc.fischlin @ gmail.com www.fischlin.de Abstract We build concurrently executable blind signatures schemes in the common reference string model, based on general complexity as- sumptions, and with optimal round complexity. Namely, each interactive signature generation requires the requesting user and the issuing bank to transmit only one message each. We also put forward the definition of universally composable blind signature schemes, and show how to ex- tend our concurrently executable blind signature protocol to derive such universally composable schemes in the common reference string model under general assumptions. While this protocol then guarantees very strong security properties when executed within larger protocols, it still supports signature generation in two moves. 1 Introduction Blind signatures, introduced by Chaum [8], allow a bank to interactively issue sig- natures to users such that the signed message is hidden from the bank (blindness) while at the same time users cannot output more signatures than interactions with the bank took place (unforgeability). Numerous blind signature schemes have been proposed, mostly under specific number-theoretic assumptions, some relying also on the random oracle model [26,1,3,4] and some forgoing random oracles [9,18,24]. Only the work by Juels et al. [17] addresses the construction of blind signatures under general assumptions explicitly, and deploys general two-party protocols and oblivious transfer based on trapdoor permutations. Interestingly, almost all of the aforementioned blind signature schemes re- quire three or more moves (most of them even in the random oracle model) and concurrent executions of the signature generation protocol are often a concern (cf.
    [Show full text]