Elliptic Cryptosystem

Total Page:16

File Type:pdf, Size:1020Kb

Elliptic Cryptosystem UNLV Theses, Dissertations, Professional Papers, and Capstones May 2018 Elliptic Cryptosystem Elizabeth Dettrey Follow this and additional works at: https://digitalscholarship.unlv.edu/thesesdissertations Part of the Computer Sciences Commons Repository Citation Dettrey, Elizabeth, "Elliptic Cryptosystem" (2018). UNLV Theses, Dissertations, Professional Papers, and Capstones. 3242. http://dx.doi.org/10.34917/13568439 This Thesis is protected by copyright and/or related rights. It has been brought to you by Digital Scholarship@UNLV with permission from the rights-holder(s). You are free to use this Thesis in any way that is permitted by the copyright and related rights legislation that applies to your use. For other uses you need to obtain permission from the rights-holder(s) directly, unless additional rights are indicated by a Creative Commons license in the record and/ or on the work itself. This Thesis has been accepted for inclusion in UNLV Theses, Dissertations, Professional Papers, and Capstones by an authorized administrator of Digital Scholarship@UNLV. For more information, please contact [email protected]. ELLIPTIC CRYPTOSYSTEM by Elizabeth Dettrey Bachelor of Science (B.Sc.) University of Nevada, Las Vegas 2016 A thesis submitted in partial fulfillment of the requirements for the Master of Science in Computer Science Department of Computer Science Howard R. Hughes College of Engineering The Graduate College University of Nevada, Las Vegas May 2018 Thesis Approval The Graduate College The University of Nevada, Las Vegas April 10, 2018 This thesis prepared by Elizabeth Dettrey entitled Elliptic Cryptosystem is approved in partial fulfillment of the requirements for the degree of Master of Science in Computer Science Department of Computer Science Evangelos Yfantis, Ph.D. Kathryn Hausbeck Korgan, Ph.D. Examination Committee Chair Graduate College Interim Dean Hal Berghel, Ph.D. Examination Committee Member Andreas Stefik, Ph.D. Examination Committee Member Sarah Harris, Ph.D. Graduate College Faculty Representative ii Abstract The elliptic cryptographic algorithm first presented in a paper by E. F. Dettrey and E. A. Yfantis is examined and explained in this thesis. The algorithm is based on the group operations of a set of points generated from an ellipse of arbitrary radii, and arbitrary center in the case of the generalized version, modulo a large prime. The security of the algorithm depends on the difficulty of solving a discrete logarithm in the groups used by this algorithm. While the elliptic cryptographic algorithm is not the most secure among the discrete logarithm based paradigm of cryptosystems for a given prime, the algorithm can reach relatively high levels of security using a very large prime. It has similar security to RSA, which is still widely used, when the prime in elliptic cryptography is of a similar size to the modulus in RSA. It should be noted that the elliptic cryptographic algorithm is not quantum safe. iii Table of Contents Abstract iii Table of Contents iv List of Tables vi List of Figures vii List of Equations viii Chapter 1 Introduction 1 Chapter 2 Background 2 Chapter 3 A New Elliptic Cryptographic Algorithm 4 3.1 Preface . 4 3.2 Abstract . 4 3.3 Introduction . 5 3.4 The Elliptic Cryptographic Algorithm . 6 3.4.1 Ability of the Algorithm to Encrypt-Decrypt Data . 8 3.4.2 The Discrete Logarithm Problem in Elliptic Cryptography . 10 3.4.3 Key Exchange Analogous to Diffie-Hellman . 12 3.4.4 Encryption-Decryption using Elliptic Cryptography . 12 3.4.5 Digital Signing . 12 3.5 Generalization of the Algorithm to an Ellipse of Arbitrary Center . 13 3.6 Conclusion . 15 Chapter 4 Examples 16 4.1 Example Using Ep(a; b) .................................. 16 iv 4.2 Example Using Ep(a; b; c; d)................................ 19 Chapter 5 Code Demonstration 22 Chapter 6 Conclusion 28 Appendix A IEEE Permission 29 Appendix B Second Author Permission 31 Appendix C Full Code for the Demonstration in Chapter 5 32 Curriculum Vitae 43 v List of Tables 4.1 Points in the E11(5; 6) Group . 17 4.2 Order of the Points in the E11(5; 6) Group . 17 4.3 Cayley Table for the E11(5; 6) Group . 18 4.4 Points in the E11(7; 5; 7; 9) Group . 19 4.5 Order of the Points in the E11(7; 5; 7; 9) Group . 20 4.6 Cayley Table for the E11(7; 5; 7; 9) Group . 20 vi List of Figures 5.1 This is C++ code for finding the inverses of the radii. 23 5.2 This is C++ code for finding the quadratic residues in Fp. 24 5.3 This is C++ code for adding two points in E127(50; 103). 24 5.4 This is C++ code for finding a base point using E127(50; 103). 25 5.5 This is C++ code for calculating A's public key and the shared key using E127(50; 103). 26 5.6 This is C++ code for encryption using E127(50; 103). 26 5.7 This is C++ code for decryption using E127(50; 103). 27 vii List of Equations and Proofs 3.1 Defining Equation for the Points in E(a; b) ....................... 6 3.2 Definition of θ1 and θ2 in E(a; b) ............................. 6 3.3 Definition of Addition for θ in E(a; b) .......................... 6 3.4 Definition of Addition for x in E(a; b) .......................... 6 3.5 Definition of Addition for y in E(a; b) .......................... 6 3.6 Proof of Closure for E(a; b) ................................ 7 3.7 Proof of Associativity for E(a,b) . 7 3.8 Proof of the Existence of an Identity in E(a; b) ..................... 7 3.9 Proof of the Existence of Inverses in E(a; b)....................... 7 3.10 Proof of Commutativity in E(a; b) ............................ 7 3.11 Defining Equation for the Set Ep(a; b) .......................... 7 3.12 Defining Equation for Ep(a; b)............................... 7 3.13 Definition of Addition Extended to R2 .......................... 8 3.14 Inverses in Ep(a; b)..................................... 8 3.15 Special Addition for (c; 0) in R2 .............................. 8 3.16 Special Addition for (c; 0) in Ep(a; b)........................... 8 3.17 Proof (a; 0) is an Identity in R2 .............................. 8 3.18 Proof of Closure of Inverses in Ep(a; b).......................... 9 3.19 Proof of the Special Addition of (c; 0) in R2 ....................... 9 3.20 Proof of the Special Addition of (c; 0) in Ep(a; b).................... 9 3.21 Proof of the Ability to Encrypt in Ep(a; b)........................ 9 3.22 Proof of the Ability to Decrypt in Ep(a; b)........................ 9 3.23 Definition of the Order of an Element of in Ep(a; b)................... 10 3.24 General Equation of Exponentiation in Ep(a; b)..................... 10 3.25 Equation for Genus 0 Curves Used by Menezes and Vanstone . 10 viii 3.26 Proof That Ellipses Are Genus 0 Curves of the Form of Equation 3.25 . 10 3.27 Definition of Subexponential Time . 10 3.28 Definition of Addition in Ep(a; b; c; d)........................... 13 3.29 Proof of Closure in Ep(a; b; c; d).............................. 13 3.30 Proof of the Existence of an Identity in Ep(a; b; c; d) .................. 13 3.31 Proof of the Uniqueness of the Identity in Ep(a; b; c; d) . 13 3.32 Proof of the Existence of Inverses in Ep(a; b; c; d).................... 14 3.33 Proof of the Uniqueness of Inverses in Ep(a; b; c; d) ................... 14 3.34 Proof of Associativity in Ep(a; b; c; d)........................... 14 3.35 Proof of Commutativity in Ep(a; b; c; d) ......................... 14 3.36 Defining Equation for Ep(a; b; c; d) ............................ 14 4.1 Defining Equation for E11(5; 6).............................. 16 4.2 Example of Calculating A's Public Key in E11(5; 6) . 18 4.3 Example of Calculating a Shared Key in E11(5; 6) . 18 4.4 Example of Encryption Using E11(5; 6) . 18 4.5 Example of Decryption Using E11(5; 6) . 19 4.6 Defining Equation for E11(7; 5; 7; 9)............................ 19 4.7 Example of Calculating B's Public Key in E11(7; 5; 7; 9) . 20 4.8 Example of Calculating a Shared Key in E11(7; 5; 7; 9) . 20 4.9 Example of Encryption Using E11(7; 5; 7; 9) . 21 4.10 Example of Decryption Using E11(7; 5; 7; 9) . 21 5.1 Definition of an Inverse Modulo P . 22 ix Chapter 1 Introduction The mathematical difficulty of calculating discrete logarithms has long made them an easy choice for providing security in cryptographic algorithms. This thesis will present a new cryptographic algorithm using discrete logarithms for security. The elliptic cryptographic algorithm uses groups created using the points on ellipses of varying radii and center, modulo a prime. While elliptic cryptography shares some similarities with elliptic curve cryptography in the flow of the algorithms and the general premise, the use of ellipses rather than elliptic curves yields different groups. It will be shown that elliptic curve cryptography can produce significantly safer groups than this new alternative, though elliptic cryptography is arguably less complicated. The security of the proposed algorithm will be investigated in the following chapters. The proposed algorithm will be fully defined and proved to work for cryptography. The aim is to present a new cryptographic algorithm, examine its security, and thoroughly explain how it works and how to use it. 1 Chapter 2 Background Some of the most familiar cryptosystems today rely on the same mathematical problem to provide security. It is the discrete logarithm problem in finite groups. RSA, elliptic curve cryptography, El Gamal, and even the algorithm to be presented in this paper are based on different groups and discrete logarithms.
Recommended publications
  • Bilinear Map Cryptography from Progressively Weaker Assumptions
    Full version of an extended abstract published in Proceedings of CT-RSA 2013, Springer-Verlag, Feb. 2013. Available from the IACR Cryptology ePrint Archive as Report 2012/687. The k-BDH Assumption Family: Bilinear Map Cryptography from Progressively Weaker Assumptions Karyn Benson, Hovav Shacham ∗ Brent Watersy University of California, San Diego University of Texas at Austin fkbenson, [email protected] [email protected] February 4, 2013 Abstract Over the past decade bilinear maps have been used to build a large variety of cryptosystems. In addition to new functionality, we have concurrently seen the emergence of many strong assump- tions. In this work, we explore how to build bilinear map cryptosystems under progressively weaker assumptions. We propose k-BDH, a new family of progressively weaker assumptions that generalizes the de- cisional bilinear Diffie-Hellman (DBDH) assumption. We give evidence in the generic group model that each assumption in our family is strictly weaker than the assumptions before it. DBDH has been used for proving many schemes secure, notably identity-based and functional encryption schemes; we expect that our k-BDH will lead to generalizations of many such schemes. To illustrate the usefulness of our k-BDH family, we construct a family of selectively secure Identity-Based Encryption (IBE) systems based on it. Our system can be viewed as a generalization of the Boneh-Boyen IBE, however, the construction and proof require new ideas to fit the family. We then extend our methods to produces hierarchical IBEs and CCA security; and give a fully secure variant. In addition, we discuss the opportunities and challenges of building new systems under our weaker assumption family.
    [Show full text]
  • Circuit-Extension Handshakes for Tor Achieving Forward Secrecy in a Quantum World
    Proceedings on Privacy Enhancing Technologies ; 2016 (4):219–236 John M. Schanck*, William Whyte, and Zhenfei Zhang Circuit-extension handshakes for Tor achieving forward secrecy in a quantum world Abstract: We propose a circuit extension handshake for 2. Anonymity: Some one-way authenticated key ex- Tor that is forward secure against adversaries who gain change protocols, such as ntor [13], guarantee that quantum computing capabilities after session negotia- the unauthenticated peer does not reveal their iden- tion. In doing so, we refine the notion of an authen- tity just by participating in the protocol. Such pro- ticated and confidential channel establishment (ACCE) tocols are deemed one-way anonymous. protocol and define pre-quantum, transitional, and post- 3. Forward Secrecy: A protocol provides forward quantum ACCE security. These new definitions reflect secrecy if the compromise of a party’s long-term the types of adversaries that a protocol might be de- key material does not affect the secrecy of session signed to resist. We prove that, with some small mod- keys negotiated prior to the compromise. Forward ifications, the currently deployed Tor circuit extension secrecy is typically achieved by mixing long-term handshake, ntor, provides pre-quantum ACCE security. key material with ephemeral keys that are discarded We then prove that our new protocol, when instantiated as soon as the session has been established. with a post-quantum key encapsulation mechanism, Forward secret protocols are a particularly effective tool achieves the stronger notion of transitional ACCE se- for resisting mass surveillance as they resist a broad curity. Finally, we instantiate our protocol with NTRU- class of harvest-then-decrypt attacks.
    [Show full text]
  • Implementation and Performance Evaluation of XTR Over Wireless Network
    Implementation and Performance Evaluation of XTR over Wireless Network By Basem Shihada [email protected] Dept. of Computer Science 200 University Avenue West Waterloo, Ontario, Canada (519) 888-4567 ext. 6238 CS 887 Final Project 19th of April 2002 Implementation and Performance Evaluation of XTR over Wireless Network 1. Abstract Wireless systems require reliable data transmission, large bandwidth and maximum data security. Most current implementations of wireless security algorithms perform lots of operations on the wireless device. This result in a large number of computation overhead, thus reducing the device performance. Furthermore, many current implementations do not provide a fast level of security measures such as client authentication, authorization, data validation and data encryption. XTR is an abbreviation of Efficient and Compact Subgroup Trace Representation (ECSTR). Developed by Arjen Lenstra & Eric Verheul and considered a new public key cryptographic security system that merges high level of security GF(p6) with less number of computation GF(p2). The claim here is that XTR has less communication requirements, and significant computation advantages, which indicate that XTR is suitable for the small computing devices such as, wireless devices, wireless internet, and general wireless applications. The hoping result is a more flexible and powerful secure wireless network that can be easily used for application deployment. This project presents an implementation and performance evaluation to XTR public key cryptographic system over wireless network. The goal of this project is to develop an efficient and portable secure wireless network, which perform a variety of wireless applications in a secure manner. The project literately surveys XTR mathematical and theoretical background as well as system implementation and deployment over wireless network.
    [Show full text]
  • DRAFT Special Publication 800-56A, Recommendation for Pair-Wise Key
    The attached DRAFT document (provided here for historical purposes) has been superseded by the following publication: Publication Number: NIST Special Publication (SP) 800-56A Revision 2 Title: Recommendation for Pair-Wise Key-Establishment Schemes Using Discrete Logarithm Cryptography Publication Date: 05/13/2013 • Final Publication: https://doi.org/10.6028/NIST.SP.800-56Ar2 (which links to http://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-56Ar2.pdf). • Information on other NIST Computer Security Division publications and programs can be found at: http://csrc.nist.gov/ The following information was posted with the attached DRAFT document: Aug 20, 2012 SP 800-56 A Rev.1 DRAFT Recommendation for Pair-Wise Key-Establishment Schemes Using Discrete Logarithm Cryptography (Draft Revision) NIST announces the release of draft revision of Special Publication 800-56A, Recommendation for Pair-Wise Key Establishment Schemes Using Discrete Logarithm Cryptography. SP 800-56A specifies key-establishment schemes based on the discrete logarithm problem over finite fields and elliptic curves, including several variations of Diffie-Hellman and MQV key establishment schemes. The revision is made on the March 2007 version. The main changes are listed in Appendix D. Please submit comments to 56A2012rev-comments @ nist.gov with "Comments on SP 800-56A (Revision)" in the subject line. The comment period closes on October 31, 2012. NIST Special Publication 800-56A Recommendation for Pair-Wise August 2012 Key-Establishment Schemes Using Discrete Logarithm Cryptography (Draft Revision) Elaine Barker, Lily Chen, Miles Smid and Allen Roginsky C O M P U T E R S E C U R I T Y Abstract This Recommendation specifies key-establishment schemes based on the discrete logarithm problem over finite fields and elliptic curves, including several variations of Diffie-Hellman and MQV key establishment schemes.
    [Show full text]
  • 21. the Diffie-Hellman Problem
    Chapter 21 The Diffie-Hellman Problem This is a chapter from version 2.0 of the book “Mathematics of Public Key Cryptography” by Steven Galbraith, available from http://www.math.auckland.ac.nz/˜sgal018/crypto- book/crypto-book.html The copyright for this chapter is held by Steven Galbraith. This book was published by Cambridge University Press in early 2012. This is the extended and corrected version. Some of the Theorem/Lemma/Exercise numbers may be different in the published version. Please send an email to [email protected] if youfind any mistakes. This chapter gives a thorough discussion of the computational Diffie-Hellman problem (CDH) and related computational problems. We give a number of reductions between computational problems, most significantly reductions from DLP to CDH. We explain self-correction of CDH oracles, study the static Diffie-Hellman problem, and study hard bits of the DLP and CDH. We always use multiplicative notation for groups in this chapter (except for in the Maurer reduction where some operations are specific to elliptic curves). 21.1 Variants of the Diffie-Hellman Problem We present some computational problems related to CDH, and prove reductions among them. The main result is to prove that CDH and Fixed-CDH are equivalent. Most of the results in this section apply to both algebraic groups (AG) and algebraic group quotients (AGQ) of prime orderr (some exceptions are Lemma 21.1.9, Lemma 21.1.16 and, later, Lemma 21.3.1). For the algebraic group quotientsG considered in this book then one can obtain all the results by lifting from the quotient to the covering groupG ′ and applying the results there.
    [Show full text]
  • Public-Key Cryptography
    Public-key Cryptogra; Theory and Practice ABHIJIT DAS Department of Computer Science and Engineering Indian Institute of Technology Kharagpur C. E. VENIMADHAVAN Department of Computer Science and Automation Indian Institute ofScience, Bangalore PEARSON Chennai • Delhi • Chandigarh Upper Saddle River • Boston • London Sydney • Singapore • Hong Kong • Toronto • Tokyo Contents Preface xiii Notations xv 1 Overview 1 1.1 Introduction 2 1.2 Common Cryptographic Primitives 2 1.2.1 The Classical Problem: Secure Transmission of Messages 2 Symmetric-key or secret-key cryptography 4 Asymmetric-key or public-key cryptography 4 1.2.2 Key Exchange 5 1.2.3 Digital Signatures 5 1.2.4 Entity Authentication 6 1.2.5 Secret Sharing 8 1.2.6 Hashing 8 1.2.7 Certification 9 1.3 Public-key Cryptography 9 1.3.1 The Mathematical Problems 9 1.3.2 Realization of Key Pairs 10 1.3.3 Public-key Cryptanalysis 11 1.4 Some Cryptographic Terms 11 1.4.1 Models of Attacks 12 1.4.2 Models of Passive Attacks 12 1.4.3 Public Versus Private Algorithms 13 2 Mathematical Concepts 15 2.1 Introduction 16 2.2 Sets, Relations and Functions 16 2.2.1 Set Operations 17 2.2.2 Relations 17 2.2.3 Functions 18 2.2.4 The Axioms of Mathematics 19 Exercise Set 2.2 20 2.3 Groups 21 2.3.1 Definition and Basic Properties . 21 2.3.2 Subgroups, Cosets and Quotient Groups 23 2.3.3 Homomorphisms 25 2.3.4 Generators and Orders 26 2.3.5 Sylow's Theorem 27 Exercise Set 2.3 29 2.4 Rings 31 2.4.1 Definition and Basic Properties 31 2.4.2 Subrings, Ideals and Quotient Rings 34 2.4.3 Homomorphisms 37 2.4.4
    [Show full text]
  • Polynomial Interpolation of the Generalized Diffie
    Polynomial interpolation of the generalized Diffie–Hellman and Naor–Reingold functions Thierry Mefenza, Damien Vergnaud To cite this version: Thierry Mefenza, Damien Vergnaud. Polynomial interpolation of the generalized Diffie–Hellman and Naor–Reingold functions. Designs, Codes and Cryptography, Springer Verlag, 2019, 87 (1), pp.75-85. 10.1007/s10623-018-0486-1. hal-01990394 HAL Id: hal-01990394 https://hal.archives-ouvertes.fr/hal-01990394 Submitted on 10 May 2020 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Noname manuscript No. (will be inserted by the editor) Polynomial Interpolation of the Generalized Diffie-Hellman and Naor-Reingold Functions Thierry Mefenza · Damien Vergnaud the date of receipt and acceptance should be inserted later Abstract In cryptography, for breaking the security of the Generalized Diffie- Hellman and Naor-Reingold functions, it would be sufficient to have polynomials with small weight and degree which interpolate these functions. We prove lower bounds on the degree and weight of polynomials interpolating these functions for many keys in several fixed points over a finite field. Keywords. Naor-Reingold function, Generalized Diffie-Hellman function, polyno- mial interpolation, finite fields. MSC2010. 11T71, 94A60 1 Introduction The security of most cryptographic protocols relies on some unproven compu- tational assumption which states that a well-defined computational problem is intractable (i.e.
    [Show full text]
  • Public-Key Cryptography
    http://dx.doi.org/10.1090/psapm/062 AMS SHORT COURSE LECTURE NOTES Introductory Survey Lectures published as a subseries of Proceedings of Symposia in Applied Mathematics Proceedings of Symposia in APPLIED MATHEMATICS Volume 62 Public-Key Cryptography American Mathematical Society Short Course January 13-14, 2003 Baltimore, Maryland Paul Garrett Daniel Lieman Editors ^tfEMAT , American Mathematical Society ^ Providence, Rhode Island ^VDED Editorial Board Mary Pugh Lenya Ryzhik Eitan Tadmor (Chair) LECTURE NOTES PREPARED FOR THE AMERICAN MATHEMATICAL SOCIETY SHORT COURSE PUBLIC-KEY CRYPTOGRAPHY HELD IN BALTIMORE, MARYLAND JANUARY 13-14, 2003 The AMS Short Course Series is sponsored by the Society's Program Committee for National Meetings. The series is under the direction of the Short Course Subcommittee of the Program Committee for National Meetings. 2000 Mathematics Subject Classification. Primary 54C40, 14E20, 14G50, 11G20, 11T71, HYxx, 94Axx, 46E25, 20C20. Library of Congress Cataloging-in-Publication Data Public-key cryptography / Paul Garrett, Daniel Lieman, editors. p. cm. — (Proceedings of symposia in applied mathematics ; v. 62) Papers from a conference held at the 2003 Baltimore meeting of the American Mathematical Society. Includes bibliographical references and index. ISBN 0-8218-3365-0 (alk. paper) 1. Computers—Access control-—Congresses. 2. Public key cryptography—Congresses. I. Garrett, Paul, 1952— II. Lieman, Daniel, 1965- III. American Mathematical Society. IV. Series. QA76.9.A25P82 2005 005.8'2—dc22 2005048178 Copying and reprinting. Material in this book may be reproduced by any means for edu• cational and scientific purposes without fee or permission with the exception of reproduction by services that collect fees for delivery of documents and provided that the customary acknowledg• ment of the source is given.
    [Show full text]
  • A Re-Examine on Assorted Digital Image Encryption Algorithm's
    Biostatistics and Biometrics Open Access Journal ISSN: 2573-2633 Review Article Biostat Biometrics Open Acc J Volume 4 Issue 2 - January 2018 Copyright © All rights are reserved by Thippanna G DOI: 10.19080/BBOAJ.2018.04.555633 A Re-Examine on Assorted Digital Image Encryption Algorithm’s Techniques Thippanna G* Assistant Professor, CSSR & SRRM Degree and PG College, India Submission: October 05, 2017; Published: January 17, 2018 *Corresponding author: Thippanna G, Assistant Professor, CSSR & SRRM Degree and PG College, India, Tel: ; Email: Abstract Image Encryption is a wide area epic topic to research. Encryption basically deals with converting data or information from its original form to another unreadable and unrecognizable form that hides the information in it. The protection of information from unauthorized access is important in network/internet communication. The use of Encryption is provides the data security. The Encrypted Image is secure from any kind cryptanalysis. In the proposed dissertation explain the different encryption algorithms and their approaches to encrypt the images. In this paper introduced a case study on assorted digital image encryption techniques, are helpful to gives knowledge on entire digital image encryption techniques. This can offer authentication of users, and integrity, accuracy and safety of images that is roaming over communication. Moreover, associate image based knowledge needs additional effort throughout encoding and cryptography. Keywords : Encryption; Cryptanalysis; Cryptographic; Algorithm; Block ciphers; Stream ciphers; Asymmetric Encryption Abbreviations : AES: Advanced Encryption Standard; DSA: Digital Signature Algorithm; DSS: Digital Signature Standard; ECDSA: Elliptic Curve Digital Signature Algorithm; DSA: Digital Signature Algorithm Introduction Some cryptographic methods rely on the secrecy of the Encryption algorithms encryption algorithms; such algorithms are only of historical Encryption algorithm, or cipher, is a mathematical function interest and are not adequate for real-world needs.
    [Show full text]
  • Hyperelliptic Pairings
    Hyperelliptic pairings Steven D. Galbraith1, Florian Hess2, and Frederik Vercauteren3? 1 Mathematics Department, Royal Holloway, University of London, Egham, Surrey, TW20 0EX, UK. [email protected] 2 Technische Universit¨atBerlin, Fakult¨atII, Institut f¨urMathematik Sekr. MA 8-1, Strasse des 17. Juni 136, D-10623 Berlin, Germany. [email protected] 3 Department of Electrical Engineering, Katholieke Universiteit Leuven Kasteelpark Arenberg 10, B-3001 Leuven-Heverlee, Belgium [email protected] Abstract. We survey recent research on pairings on hyperelliptic curves and present a comparison of the performance characteristics of pairings on elliptic curves and hyperelliptic curves. Our analysis indicates that hyperelliptic curves are not more efficient than elliptic curves for general pairing applications. 1 Introduction The original work on pairing-based cryptography [46, 47, 27, 6] used pairings on elliptic curves. It was then natural to suggest using higher genus curves for pairing applications [18]. The motivation given in [18] for considering higher genus curves was to have a wider choice of possible embedding degrees k. This motivation was supported by [42, 45] who showed that, for supersingular abelian varieties, one can always get larger security parameter in dimension 4 than using elliptic curves. Koblitz [30] was the first to propose using divisor class groups of hyperelliptic curves for cryptosystems based on the discrete logarithm problem. Since that time there has been much research on comparing the speed of elliptic curves and hyperelliptic curves for cryptography. The current state of the art (see [7, 34] for a survey) suggests that in some situations genus 2 curves can be faster than elliptic curves.
    [Show full text]
  • 15-853:Algorithms in the Real World Cryptography Outline Public Key
    Cryptography Outline Introduction: terminology, cryptanalysis, security 15-853:Algorithms in the Real World Primitives: one-way functions, trapdoors, … Protocols: digital signatures, key exchange, .. Cryptography 3 and 4 Number Theory: groups, fields, … Private-Key Algorithms: Rijndael, DES Public-Key Algorithms: – Diffie-Hellman Key Exchange – El-Gamal, RSA, Blum-Goldwasser – Quantum Cryptography Case Studies: Kerberos, Digital Cash 15-853 Page 1 15-853 Page 2 Public Key Cryptosystems One-way trapdoor functions Introduced by Diffie and Hellman in 1976. Both Public-Key and Digital signatures make use of one-way trapdoor functions. Plaintext Public Key systems Public Key: K = public key 1 K1 Encryption Ek(M) = C – Encode: c = f(m) K2 = private key – Decode: m = f-1(c) using trapdoor Cyphertext Digital signatures Digital Signatures: K Decryption D (C) = M – Sign: c = f-1(m) using trapdoor 2 k K1 = private key – Verify: m = f(c) K2 = public key Original Plaintext Typically used as part of a more complicated protocol. 15-853 Page 3 15-853 Page 4 1 Example of TLS (previously SSL) Public Key History TLS (Transport Layer Security) is the standard for the web (https), and voice over IP. Some algorithms Protocol (somewhat simplified): Bob -> amazon.com – Diffie-Hellman, 1976, key-exchange based on discrete logs B->A: client hello: protocol version, acceptable ciphers – Merkle-Hellman, 1978, based on “knapsack problem” A->B: server hello: cipher, session ID, |amazon.com|verisign – McEliece, 1978, based on algebraic coding theory hand- B->A: key
    [Show full text]
  • On Security of XTR Public Key Cryptosystems Against Side Channel Attacks ?
    On security of XTR public key cryptosystems against Side Channel Attacks ? Dong-Guk Han1??, Jongin Lim1? ? ?, and Kouichi Sakurai2 1 Center for Information and Security Technologies(CIST), Korea University, Seoul, KOREA fchrista,[email protected] 2 Department of Computer Science and Communication Engineering 6-10-1, Hakozaki, Higashi-ku, Fukuoka, 812-8581, Japan, [email protected] Abstract. The XTR public key system was introduced at Crypto 2000. Application of XTR in cryptographic protocols leads to substantial sav- ings both in communication and computational overhead without com- promising security. It is regarded that XTR is suitable for a variety of environments, including low-end smart cards, and XTR is the excellent alternative to either RSA or ECC. In [LV00a,SL01], authors remarked that XTR single exponentiation (XTR-SE) is less susceptible than usual exponentiation routines to environmental attacks such as timing attacks and Di®erential Power Analysis (DPA). In this paper, however, we in- vestigate the security of side channel attack (SCA) on XTR. This paper shows that XTR-SE is immune against simple power analysis (SPA) un- der assumption that the order of the computation of XTR-SE is carefully considered. However we show that XTR-SE is vulnerable to Data-bit DPA (DDPA)[Cor99], Address-bit DPA (ADPA)[IIT02], and doubling attack [FV03]. Moreover, we propose two countermeasures that prevent from DDPA and a countermeasure against ADPA. One of the counter- measures using randomization of the base element proposed to defeat DDPA, i.e., randomization of the base element using ¯eld isomorphism, could be used to break doubling attack.
    [Show full text]