Introduction to Modern Cryptography

Total Page:16

File Type:pdf, Size:1020Kb

Introduction to Modern Cryptography Introduction to Modern Cryptography Mihir Bellare1 Phillip Rogaway2 2005 1 Department of Computer Science and Engineering, University of California at San Diego, La Jolla, CA 92093, USA. [email protected], http://www-cse.ucsd.edu/users/mihir 2 Department of Computer Science, Kemper Hall of Engineering, University of California at Davis, Davis, CA 95616, USA; and Department of Computer Science, Faculty of Science, Chiang Mai University, Chiang Mai, 50200 Thailand. [email protected], http://www.cs.ucdavis.edu/ rogaway ∼ 2 Preface This is a set of class notes that we have been developing jointly for some years. We use them for cryptography courses that we teach at our respective institutions. Each time one of us teaches the class, he takes the token and updates the notes a bit. The process has resulted in an evolving document that has lots of gaps, as well as plenty of “unharmonized” parts. One day it will, with luck, be complete and cogent. The viewpoint taken throughout these notes is to emphasize the theory of cryptography as it can be applied to practice. This is an approach that the two of us have pursued in our research, and it seems to be a pedagogically desirable approach as well. We would like to thank the following students of past versions of our courses who have pointed out errors and made suggestions for changes: Andre Barroso, Keith Bell, Kostas Bimpikis, Alexan- dra Boldyreva, Dustin Boswell, Brian Buesker, Michael Burton, Chris Calabro, Sashka Davis, Alex Gantman, Bradley Huffaker, Hyun Min Kang, Vivek Manpuria, Chanathip Namprempre, Adriana Palacio, Wenjing Rao, Fritz Schneider, Juliana Wong. We welcome further corrections, comments and suggestions. Mihir Bellare San Diego, California USA Phillip Rogaway Davis, California USA ©Mihir Bellare and Phillip Rogaway, 1997–2005. Contents 1 Introduction 7 1.1 Goalsandsettings ................................ ..... 7 1.2 Othergoals ...................................... 13 1.3 Whatcryptographyisabout. ....... 15 1.4 Approaches to the study of cryptography . .......... 18 1.5 WhatbackgrounddoIneed? . ..... 24 1.6 Problems ........................................ 25 2 Classical Encryption 29 2.1 Substitutionciphers ............................. ....... 29 2.2 One-time-pad encryption and perfect security . .............. 33 2.3 Problems ........................................ 36 3 Blockciphers 37 3.1 Whatisablockcipher?............................. ...... 37 3.2 DataEncryptionStandard(DES). ........ 38 3.3 Key recovery attacks on blockciphers . ........... 42 3.4 Iterated-DESandDESX. .. .. .. .. .. .. .. .. ..... 45 3.5 AdvancedEncryptionStandard(AES) . ......... 48 3.6 Limitations of key-recovery based security . .............. 52 3.7 Problems ........................................ 53 4 Pseudorandom Functions 57 4.1 Functionfamilies ................................ ...... 57 4.2 Games........................................... 58 4.3 Randomfunctionsandpermutations . ......... 58 4.4 Pseudorandomfunctions. ....... 61 4.5 Pseudorandompermutations . ....... 63 4.6 Modelingblockciphers . ....... 66 4.7 Exampleattacks .................................. 67 4.8 Security against key recovery . ......... 69 4.9 Thebirthdayattack ............................... ..... 73 4.10 ThePRP/PRFswitchinglemma . ...... 74 4.11 Historicalnotes ................................ ....... 77 4.12Problems ....................................... 77 4 CONTENTS 5 Symmetric Encryption 83 5.1 Symmetricencryptionschemes . ........ 83 5.2 Somesymmetricencryptionschemes . ......... 85 5.3 Issuesinprivacy ................................. ..... 88 5.4 Indistinguishability under chosen-plaintext attack . ................... 90 5.5 Example chosen-plaintext attacks . ........... 94 5.6 Semanticsecurity................................ ...... 97 5.7 SecurityofCTRmodes .............................. 99 5.8 SecurityofCBCwitharandomIV . 103 5.9 Indistinguishability under chosen-ciphertext attack ...................106 5.10 Example chosen-ciphertext attacks . ............108 5.11 Historicalnotes ................................ .......112 5.12Problems ....................................... 112 6 Hash Functions 117 6.1 ThehashfunctionSHA1............................. 117 6.2 Collision-resistant hash functions . .............119 6.3 Collision-findingattacks . .........122 6.4 One-wayness of collision-resistant hash functions . .................124 6.5 TheMDtransform .................................. 127 7 Message Authentication 133 7.1 Thesetting ...................................... 133 7.2 Privacy does not imply authenticity . ..........136 7.3 Syntax for message authentication . ..........137 7.4 Definitionsofsecurity . .. .. .. .. .. .. .. .......138 7.5 Examples ........................................ 142 7.6 ThePRF-as-a-MACparadigm . 144 7.7 TheCBCMAC....................................... 146 7.8 Theuniversal-hashingapproach . ..........149 7.9 Problems ........................................ 149 8 Authenticated Encryption 153 9 Computational Number Theory 155 9.1 Thebasicgroups .................................. 155 9.2 Algorithms ...................................... 157 9.3 Cyclicgroupsandgenerators . ........162 9.4 Squaresandnon-squares. .......166 9.5 Groupsofprimeorder .............................. 170 9.6 HistoricalNotes................................. 172 9.7 ExercisesandProblems . .. .. .. .. .. .. .. .. 172 10 Number-Theoretic Primitives 173 10.1 Discrete logarithm related problems . ............173 10.2 Thechoiceofgroup ............................... 177 10.3TheRSAsystem ................................... 180 CONTENTS 5 10.4 Historicalnotes ................................ .......184 10.5 ExercisesandProblems . .......184 11 Digital signatures 187 11.1 Digitalsignatureschemes . .........187 11.2 Anotionofsecurity .............................. 188 11.3 RSAbasedsignatures . .. .. .. .. .. .. .. .. 190 12 Authenticated Key Exchange 207 13 The Asymptotic Approach 209 14 Interactive Proofs and Zero Knowledge 211 14.1Introduction................................... 211 14.2 Interactive functions and the accepting probability . ..................215 14.3 Proofsoflanguage-membership . ..........216 14.4 NP proof-systems .....................................221 14.5 ExercisesandProblems . .......222 A The Birthday Problem 223 B Information-Theoretic Security 225 6 CONTENTS Chapter 1 Introduction Historically, cryptography arose as a means to enable parties to maintain privacy of the information they send to each other, even in the presence of an adversary with access to the communication channel. While providing privacy remains a central goal, the field has expandeded to encompass many others, including not just other goals of communication security, such as guaranteeing in- tegrity and authenticity of communications, but many more sophisticated and fascinating goals. Once largely the domain of the military, cryptography is now in widespread use, and you are likely to have used it even if you don’t know it. When you shop on the Internet, for example to buy a book at www.amazon.com, cryptography is used to ensure privacy of your credit card number as it travels from you to the shop’s server. Or, in electronic banking, cryptography is used to ensure that your checks cannot be forged. Cryptography has been used almost since writing was invented. For the larger part of its history, cryptography remained an art, a game of ad hoc designs and attacks. Although the field retains some of this flavor, the last twenty-five years have brought in something new. The art of cryptography has now been supplemented with a legitimate science. In this course we shall focus on that science, which is modern cryptography. Modern cryptography is a remarkable discipline. It is a cornerstone of computer and communi- cations security, with end products that are imminently practical. Yet its study touches on branches of mathematics that may have been considered esoteric, and it brings together fields like number theory, computational-complexity theory, and probabiltity theory. This course is your invitation to this fascinating field. 1.1 Goals and settings Modern cryptography addresses a wide range of problems. But the most basic problem remains the classical one of ensuring security of communication across an insecure medium. To describe it, let’s introduce the first two members of our cast of characters: our sender, S, and our receiver, R. (Sometimes people call these characters Alice, A, and Bob, B. Alice and Bob figure in many works on cryptography. But we’re going to want the letter A for someone else, anyway.) The sender and receiver want to communicate with each other. The ideal channel. Imagine our two parties are provided with a dedicated, untappable, im- penetrable pipe or tube into which the sender can whisper a message and the receiver will hear 8 INTRODUCTION x x x x x x S R A Figure 1.1: Several cryptographic goals aim to imitate some aspect of an ideal channel connecting a sender S to a receiver R. it. Nobody else can look inside the pipe or change what’s there. This pipe provides the perfect medium, available only to the sender and receiver, as though they were alone in the world. It is an “ideal” communication channel from the security point of view. See Fig. 1.1. Unfortunately, in real life, there are no ideal channels connecting the pairs of parties that might like to communicate with each other. Usually such parties are communicating over some public network like the Internet. The most basic goal of cryptography
Recommended publications
  • Substitution-Permutation Networks, Pseudorandom Functions, and Natural Proofs∗
    Substitution-permutation networks, pseudorandom functions, and natural proofs∗ Eric Miles† Emanuele Viola‡ August 20, 2015 Abstract This paper takes a new step towards closing the gap between pseudorandom func- tions (PRF) and their popular, bounded-input-length counterparts. This gap is both quantitative, because these counterparts are more efficient than PRF in various ways, and methodological, because these counterparts usually fit in the substitution-permutation network paradigm (SPN), which has not been used to construct PRF. We give several candidate PRF that are inspired by the SPN paradigm. Most Fi of our candidates are more efficient than previous ones. Our main candidates are: : 0, 1 n 0, 1 n is an SPN whose S-box is a random function on b bits given F1 { } → { } as part of the seed. We prove that resists attacks that run in time 2ǫb. F1 ≤ : 0, 1 n 0, 1 n is an SPN where the S-box is (patched) field inversion, F2 { } → { } a common choice in practical constructions. We show that is computable with F2 boolean circuits of size n logO(1) n, and that it has exponential security 2Ω(n) against · linear and differential cryptanalysis. : 0, 1 n 0, 1 is a non-standard variant on the SPN paradigm, where F3 { } → { } “states” grow in length. We show that is computable with TC0 circuits of size F3 n1+ǫ, for any ǫ> 0, and that it is almost 3-wise independent. : 0, 1 n 0, 1 uses an extreme setting of the SPN parameters (one round, F4 { } → { } one S-box, no diffusion matrix). The S-box is again (patched) field inversion.
    [Show full text]
  • 1 Review of Counter-Mode Encryption ¡
    Comments to NIST concerning AES Modes of Operations: CTR-Mode Encryption Helger Lipmaa Phillip Rogaway Helsinki University of Technology (Finland) and University of California at Davis (USA) and University of Tartu (Estonia) Chiang Mai University (Thailand) [email protected] [email protected] http://www.tml.hut.fi/ helger http://www.cs.ucdavis.edu/ rogaway David Wagner University of California Berkeley (USA) [email protected] http://www.cs.berkeley.edu/ wagner Abstract Counter-mode encryption (“CTR mode”) was introduced by Diffie and Hellman already in 1979 [5] and is already standardized by, for example, [1, Section 6.4]. It is indeed one of the best known modes that are not standardized in [10]. We suggest that NIST, in standardizing AES modes of operation, should include CTR-mode encryption as one possibility for the next reasons. First, CTR mode has significant efficiency advantages over the standard encryption modes without weakening the security. In particular its tight security has been proven. Second, most of the perceived disadvantages of CTR mode are not valid criticisms, but rather caused by the lack of knowledge. 1 Review of Counter-Mode Encryption ¡ Notation. Let EK X ¢ denote the encipherment of an n-bit block X using key K and a block cipher E. For concreteness £ ¤ we assume that E £ AES, so n 128. If X is a nonempty string and i is a nonnegative integer, then X i denotes ¥ the ¥ X -bit string that one gets by regarding X as a nonnegative number (written in binary, most significant bit first), X ¦ ¥ ¥ adding i to this number, taking the result modulo 2 ¦ , and converting this number back into an X -bit string.
    [Show full text]
  • Lecture Notes in Computer Science 6841 Commenced Publication in 1973 Founding and Former Series Editors: Gerhard Goos, Juris Hartmanis, and Jan Van Leeuwen
    Lecture Notes in Computer Science 6841 Commenced Publication in 1973 Founding and Former Series Editors: Gerhard Goos, Juris Hartmanis, and Jan van Leeuwen Editorial Board David Hutchison Lancaster University, UK Takeo Kanade Carnegie Mellon University, Pittsburgh, PA, USA Josef Kittler University of Surrey, Guildford, UK Jon M. Kleinberg Cornell University, Ithaca, NY, USA Alfred Kobsa University of California, Irvine, CA, USA Friedemann Mattern ETH Zurich, Switzerland John C. Mitchell Stanford University, CA, USA Moni Naor Weizmann Institute of Science, Rehovot, Israel Oscar Nierstrasz University of Bern, Switzerland C. Pandu Rangan Indian Institute of Technology, Madras, India Bernhard Steffen TU Dortmund University, Germany Madhu Sudan Microsoft Research, Cambridge, MA, USA Demetri Terzopoulos University of California, Los Angeles, CA, USA Doug Tygar University of California, Berkeley, CA, USA Gerhard Weikum Max Planck Institute for Informatics, Saarbruecken, Germany Phillip Rogaway (Ed.) Advances in Cryptology – CRYPTO 2011 31st Annual Cryptology Conference Santa Barbara, CA, USA, August 14-18, 2011 Proceedings 13 Volume Editor Phillip Rogaway University of California Department of Computer Science Davis, CA 95616, USA E-mail: [email protected] ISSN 0302-9743 e-ISSN 1611-3349 ISBN 978-3-642-22791-2 e-ISBN 978-3-642-22792-9 DOI 10.1007/978-3-642-22792-9 Springer Heidelberg Dordrecht London New York Library of Congress Control Number: 2011932695 CR Subject Classification (1998): E.3, G.2.1, F.2.1-2, D.4.6, K.6.5, C.2, J.1 LNCS Sublibrary: SL 4 – Security and Cryptology © International Association for Cryptologic Research 2011 This work is subject to copyright.
    [Show full text]
  • Secure Image Transferring Using Asymmetric Crypto System
    Oo Khet Khet Khaing et al.; International Journal of Advance Research and Development (Volume 4, Issue 9) Available online at: www.ijarnd.com Secure image transferring using asymmetric crypto system Khet Khet Khaing Oo1, Yan Naung Soe2, Yi Mar Myint3 1,2University of Computer Studies, Myitkyina, Myanmar 3University of Computer Studies, Monywa, Myanmar ABSTRACT defined as Plain Text. The message that cannot be understood by anyone or meaningless message is what we call as Cipher Nowadays, with the growth of technology, security is an Text. Encryption is the process of converting plaintext into important issue in communication. In many applications, the ciphertext with a key. A Key is a numeric or alphanumeric text transmission of data (massage, image and so on) is needed to or maybe a special symbol. Decryption is a reverse process of provide security against from preventing unauthorized users. encryption in which original message is retrieved from the Cryptography is a technique that provides secure ciphertext. Encryption takes place at the sender end and communication. The two widely accepted and used Decryption takes place at the receiver end. cryptographic methods are symmetric and asymmetric. There are so many different techniques should be used to protect A system or product that provides encryption and decryption is confidential image data from unauthorized access. This called cryptosystem. Cryptosystem uses encryption algorithms system provides secure image transmission between sender that determine how simple or complex the encryption process and receiver. This system uses Optimal Asymmetric will be, the necessary software component, and the key Encryption Padding (OAEP) with RSA encryption algorithm (usually a long string of bits), which works with the algorithm to provide security during transmission.
    [Show full text]
  • Identity-Based Format-Preserving Encryption
    Session G3: Crypto Standards CCS’17, October 30-November 3, 2017, Dallas, TX, USA Identity-Based Format-Preserving Encryption Mihir Bellare∗ Viet Tung Hoang† University of California San Diego Florida State University La Jolla, California Tallahassee, Florida [email protected] [email protected] ABSTRACT “format" as the plaintext. Tweakable blockciphers [27] are the spe- cial case where F.Dom = 0, 1 F.bl for some integer F.bl called the We introduce identity-based format-preserving encryption (IB-FPE) { } as a way to localize and limit the damage to format-preserving en- block length. cryption (FPE) from key exposure. We give denitions, relations be- The canonical metric of security for an FPE scheme F is prp se- tween them, generic attacks and two transforms of FPE schemes to curity [10, 26]. The game picks a challenge bit b and random key F.kl IB-FPE schemes. As a special case, we introduce and cover identity- J 0, 1 . For each tweak T it also lets Π T, be a random ∈ { } ( ·) based tweakable blockciphers. We apply all this to analyze DFF, an permutation over F.Dom. The adversary can ask for encryp- A FPE scheme proposed to NIST for standardization. tion under a tweak T and message X of its choice, being returned F J,T, X if b = 1 or Π T, X if b = 0, and similarly for decryption. ( ) ( ) FPE is not easy to build. Today the most practical approach is 1 INTRODUCTION Feistel with strong —AES-based— round functions and a number of rounds r 8.
    [Show full text]
  • Tweakable Block Ciphers
    Tweakable Block Ciphers Moses Liskov1, Ronald L. Rivest1, and David Wagner2 1 Laboratory for Computer Science Massachusetts Institute of Technology Cambridge, MA 02139, USA [email protected], [email protected] 2 University of California Berkeley Soda Hall Berkeley, CA 94720, USA [email protected] Abstract. We propose a new cryptographic primitive, the “tweakable block cipher.” Such a cipher has not only the usual inputs – message and cryptographic key – but also a third input, the “tweak.” The tweak serves much the same purpose that an initialization vector does for CBC mode or that a nonce does for OCB mode. Our proposal thus brings this feature down to the primitive block-cipher level, instead of incorporating it only at the higher modes-of-operation levels. We suggest that (1) tweakable block ciphers are easy to design, (2) the extra cost of making a block cipher “tweakable” is small, and (3) it is easier to design and prove modes of operation based on tweakable block ciphers. Keywords: block ciphers, tweakable block ciphers, initialization vector, modes of operation 1 Introduction A conventional block cipher takes two inputs – a key K ∈{0, 1}k and a message (or plaintext) M ∈{0, 1}n – and produces a single output – a ciphertext C ∈ {0, 1}n. The signature for a block cipher is thus (see Figure 1(a)): E : {0, 1}k ×{0, 1}n →{0, 1}n . (1) On the other hand, the corresponding operators for variable-length encryp- tion have a different signature. These operators are usually defined as “modes of operation” for a block cipher, but they may also be viewed abstractly as another set of encryption operators.
    [Show full text]
  • Protecting Communications Against Forgery
    Algorithmic Number Theory MSRI Publications Volume 44, 2008 Protecting communications against forgery DANIEL J. BERNSTEIN ABSTRACT. This paper is an introduction to cryptography. It covers secret- key message-authentication codes, unpredictable random functions, public- key secret-sharing systems, and public-key signature systems. 1. Introduction Cryptography protects communications against espionage: an eavesdropper who intercepts a message will be unable to decipher it. This is useful for many types of information: credit-card transactions, medical records, love letters. Cryptography also protects communications against sabotage: a forger who fabricates or modifies a message will be unable to deceive the receiver. This is useful for all types of information. If the receiver does not care about the authenticity of a message, why is he listening to the message in the first place? This paper explains how cryptography prevents forgery. Section 2 explains how to protect n messages if the sender and receiver share 128(n 1) secret + bits. Section 3 explains how the sender and receiver can generate many shared secret bits from a short shared secret. Section 4 explains how the sender and receiver can generate a short shared secret from a public conversation. Section 5 explains how the sender can protect a message sent to many receivers, without sharing any secrets. Mathematics Subject Classification: 94A62. Permanent ID of this document: 9774ae5a1749a7b256cc923a7ef9d4dc. Date: 2008.05.01. 535 536 DANIEL J. BERNSTEIN 2. Unbreakable secret-key authenticators Here is a protocol for transmitting a message when the sender and receiver both know certain secrets: Secrets p, k Secrets p, k Authenticated Possibly forged Message m / / / Verification message m, a message m0, a0 The message is a polynomial m F[x] with m(0) 0 and deg m 1000000.
    [Show full text]
  • How to Protect DES Against Exhaustive Key Search (An Analysis of DESX)
    J. Cryptology (2001) 14: 17–35 DOI: 10.1007/s001450010015 © 2001 International Association for Cryptologic Research How to Protect DES Against Exhaustive Key Search (an Analysis of DESX) Joe Kilian NEC Research Institute, 4 Independence Way, Princeton, NJ 08540, U.S.A. [email protected] Phillip Rogaway Department of Computer Science, University of California at Davis, Davis, CA 95616, U.S.A. [email protected] Communicated by Bart Preneel Received July 1997 and revised July 2000 Online publication 27 November 2000 Abstract. The block cipher DESX is defined by DESXk.k1.k2(x) = k2 DESk (k1 x), where denotes bitwise exclusive-or. This construction was first suggested by Rivest as a computationally cheap way to protect DES against exhaustive key-search attacks. This paper proves, in a formal model, that the DESX construction is sound. We show that, when F is an idealized block cipher, FX k.k1.k2(x) = k2 Fk (k1 x) is substantially more resistant to key search than is F. In fact, our analysis says that FX has an effective key length of at least + n 1 lg m bits, where is the key length of F, n is the block length, and m bounds the number of hx, FX K (x)i pairs the adversary can obtain. Key words. Cryptanalysis, DES, DESX, Export controls, Key search. 1. Introduction With its 56-bit keys, the susceptibility of DES to exhaustive key search has been a concern and a complaint since the cipher was first made public; see, for example, [8]. The problem has escalated to the point that the Electronic Frontier Foundation has now built a DES cracking machine, at a cost of less than US$250,000, that can find the right key in about 3 days [9], [14].
    [Show full text]
  • Privacy-Preserving Shortest Path Computation (Extended Version)
    Privacy-Preserving Shortest Path Computation (Extended Version) David J. Wu Joe Zimmerman J´er´emy Planul John C. Mitchell Stanford University fdwu4, jzim, [email protected], [email protected] Abstract Navigation is one of the most popular cloud computing services. But in virtually all cloud-based navigation systems, the client must reveal her location and destination to the cloud service provider in order to learn the fastest route. In this work, we present a cryptographic protocol for navigation on city streets that provides privacy for both the client's location and the service provider's routing data. Our key ingredient is a novel method for compressing the next-hop routing matrices in networks such as city street maps. Applying our compression method to the map of Los Angeles, for example, we achieve over tenfold reduction in the representation size. In conjunction with other cryptographic techniques, this compressed representation results in an efficient protocol suitable for fully-private real-time navigation on city streets. We demonstrate the practicality of our protocol by benchmarking it on real street map data for major cities such as San Francisco and Washington, D.C. 1 Introduction Location privacy is a major concern among smartphone users, and there have been numerous controversies due to companies tracking users' locations [AVD11, Che11]. Among the various applications that require location information, navigation is one of the most popular. For example, companies such as Google, Apple, and Waze have built traffic-aware navigation apps to provide users with the most up-to-date routing information. But to use these services, users must reveal their location and destination to the cloud service provider.
    [Show full text]
  • Substring-Searchable Symmetric Encryption
    Substring-Searchable Symmetric Encryption Melissa Chase Emily Shen Microsoft Research MIT Lincoln Laboratory∗ [email protected] [email protected] June 18, 2015 Abstract In this paper, we consider a setting where a client wants to outsource storage of a large amount of private data and then perform substring search queries on the data { given a data string s and a search string p, find all occurrences of p as a substring of s. First, we formalize an encryption paradigm that we call queryable encryption, which generalizes searchable symmetric encryption (SSE) and structured encryption. Then, we construct a queryable encryption scheme for substring queries. Our construction uses suffix trees and achieves asymptotic efficiency comparable to that of unencrypted suffix trees. Encryption of a string of length n takes O(λn) time and produces a ciphertext of size O(λn), and querying for a substring of length m that occurs k times takes O(λm+k) time and three rounds of communication, where λ is the security parameter. Our security definition guarantees correctness of query results and privacy of data and queries against a malicious, adaptive adversary. Following the line of work started by Curtmola et al. (ACM CCS 2006), in order to construct more efficient schemes we allow the query protocol to leak some limited information that is captured precisely in the definition. We prove security of our substring-searchable encryption scheme against malicious adversaries, where the query protocol leaks limited information about memory access patterns through the suffix tree of the encrypted string. 1 Introduction In traditional symmetric-key encryption schemes, a user encrypts a message so that only the owner of the corresponding secret key can decrypt it.
    [Show full text]
  • The Moral Character of Cryptographic Work⋆
    The Moral Character of Cryptographic Work? Phillip Rogaway Department of Computer Science University of California, Davis, USA [email protected] December 2015 (minor revisions March 2016) Abstract. Cryptography rearranges power: it configures who can do what, from what. This makes cryptography an inherently political tool, and it confers on the field an intrinsically moral dimension. The Snowden revelations motivate a reassessment of the political and moral positioning of cryptography. They lead one to ask if our inability to effectively address mass surveillance constitutes a failure of our field. I believe that it does. I call for a community-wide effort to develop more effective means to resist mass surveillance. I plead for a reinvention of our disciplinary culture to attend not only to puzzles and math, but, also, to the societal implications of our work. Keywords: cryptography · ethics · mass surveillance · privacy · Snowden · social responsibility Preamble. Most academic cryptographers seem to think that our field is a fun, deep, and politically neutral game|a set of puzzles involving communicating parties and notional adversaries. This vision of who we are animates a field whose work is intellectually impressive and rapidly produced, but also quite inbred and divorced from real-world concerns. Is this what cryptography should be like? Is it how we should expend the bulk of our intellectual capital? For me, these questions came to a head with the Snowden disclosures of 2013. If cryptography's most basic aim is to enable secure communications, how could it not be a colossal failure of our field when ordinary people lack even a modicum of communication privacy when interacting electronically? Yet I soon realized that most cryptographers didn't see it this way.
    [Show full text]
  • Proofs of Space
    Proofs of Space Stefan Dziembowski1?, Sebastian Faust2, Vladimir Kolmogorov3??, and Krzysztof Pietrzak3??? 1 University of Warsaw 2 Ruhr-University Bochum 3 IST Austria Abstract. Proofs of work (PoW) have been suggested by Dwork and Naor (Cryp- to’92) as protection to a shared resource. The basic idea is to ask the service requestor to dedicate some non-trivial amount of computational work to every request. The original applications included prevention of spam and protection against denial of service attacks. More recently, PoWs have been used to prevent double spending in the Bitcoin digital currency system. In this work, we put forward an alternative concept for PoWs – so-called proofs of space (PoS), where a service requestor must dedicate a significant amount of disk space as opposed to computation. We construct secure PoS schemes in the random oracle model (with one additional mild assumption required for the proof to go through), using graphs with high “pebbling complexity” and Merkle hash-trees. We discuss some applications, including follow-up work where a de- centralized digital currency scheme called Spacecoin is constructed that uses PoS (instead of wasteful PoW like in Bitcoin) to prevent double spending. The main technical contribution of this work is the construction of (directed, loop- free) graphs on N vertices with in-degree O(log log N) such that even if one places Θ(N) pebbles on the nodes of the graph, there’s a constant fraction of nodes that needs Θ(N) steps to be pebbled (where in every step one can put a pebble on a node if all its parents have a pebble).
    [Show full text]