Code-Based Pkcs and Their Based Pkcs and Their Code-Based Pkcs

Total Page:16

File Type:pdf, Size:1020Kb

Code-Based Pkcs and Their Based Pkcs and Their Code-Based Pkcs CodeCode--BasedBased PKCs And Their Applications KkiKbKazukuni Kobara RCIS/AIST ICITS 2009 No. 1 PKCs can be divided into Number Theoretic (Cyclic) Problem Combinatorial Problem Integer Factoring Based Code Based RSA[RSA78] McEliece[Mc78] Rabin[[]Ra79] Niederreiter[[]Ni86] Okamoto-Uchiyama[OU98] Lattice Based Paillier[Pa99] NTRU[HS96] S-Paillier[CHGN01] AjtaiD wor k[AD97] … Goldreich-Goldwasser- Discrete Logarithm Based Halevi [GGH97] Diffie-Hellman[DH77] Ajtai[Ajt05] ElGamal[El84] Regev[Reg03,Reg05] ECC[Mi85][Ko87] Peikert[Pei09] XTR[LV00] … Cramer-Shoup[][CS03] Subset Sum Based Kurosawa-Desmedt[KD04] Okamoto-Tanaka- Uchiyama[OTU00] … No. 2 Cyclic Problem: Integer Factoring (IF) Given a positive integer n, find its prime factor pi Equivalent to finding r s.t. gr≡1 (mod n) for a g of GCD(g,n)=1 and g≡±1 (mod n) r/2 r/2 Since GCD(g -1,n) or GCD(g +1,n) is pi This cycle can be gi mod n IF determined in poly time with 1D-QFT, a.k.a. Shor’s quantum algorithm. i r rr QFT : Quantum Fourier Transform No. 3 Cyclic Problem: Discrete-Log (DL) Given p, g and y, find r s.t. x ≡ g r mod p p: prime, g: generator of Zp*, x a member of Zp* except 1, p-1. Equivalent to finding a0, a1, b0 and b1 s.t. xa0 g b0 ≡ xa1 g b1 mod p (a −a ) r(a −a ) (b −b ) Since x 1 0 ≡ g 1 0 ≡ g 0 1 mod p (b − b ) a DL r ≡ 0 1 mod p -1 (a1 − a0 ) a0 This inclination can be a b determined in poly time a1 x g mod p with 2D-QFT, a.kSh’k.a. Shor’s -b quantum algorithm. b0 b1 No. 4 Lesson to learn If a problem is written in the form of dedeetermining a cycl e, Then it can be solved in polynomial time using a quantum computer. No. 5 Combinatorial Problems Note: Underlying security find A set of vectors ddlhtdepends also on how to or scalars make the trapdoor r1, r2, r3… ri, --11 = 00010000100100100 public-key Arithmetic Unit Condition Condition ciphertext given No. 6 Code Based: McEliece find Plaintext PK is a kxn generator matrix of a linear code over GF(q) , usually q=2 r1, r2, r3… ri, --11 = 00010000100100100 public-key wt() <=t GF(q) Condition ciphertext wt(): Hamming weight given (# of non zeros) No. 7 Code Based: Niederreiter find Plaintext PK is a nx(n-k) parity check matrix of a linear code over GF(q), usually q=2 r1, r2, r3… ri, -1 = 00000000000000000 wt(r) <=t public-key All Zero GF(q) r ∈{r1,r2 ,L,ri} Condition Condition ciphertext given No. 8 Lattice Based: NTRU find PK is a n dimensional Plaintext cyclic vector over Zq , q=2048 etc. r1, r2, r3… ri, -1 = 00100-100100-10000 ri ∈{−1,0,1}, public-key mi ∈{−1,0,1}, wt() = dm wt() = dr Zq Condition Condition ciphertext given No. 9 Lattice Based: Regev PK is a (u+v)x(n+v) matrix find Plaintext uxn random uxv parity-with- binary matrix A noise Axs+E r1, r2,…,ri, m1, …,mv, -1 = 0000000000 q All Zero r ,m ∈{0,1}, wt(r ) < i i 2 A Axs+E Zq q 0000000000000 2 00 q Condition 0000000000000 0 2 0 q Condition 0000000000000 00 2 ciphertext given No. 10 Subset Sum Problem: OTU find Plaintext PK is a set of n positive integers r1, r2, r3… ri, -1 = 0 Zero ri ∈{0,1}, wt(r) = k public-key Z Condition Condition ciphertext given No. 11 So far it is not known To reduce combinatorial problems to a cyclic problem The best attack on combinatorial problem is: Grover’s algorithm GG’rover’s allithgorithm can reduce Running time to states but it is still exponential to its input size No. 12 Advantages of Combinatorial Based Quantum Tolerant: No polynomial time algorithm is known so far even on quantum computers Arithmetic unit is small: for encryption (and signature verification) Usually xors or additions in a small Field/Ring They are hihihlghly paralleli zabl e No heavy multi-precision modular exponentiation No. 13 Advantages of CodeCode-- Based IfInforma tion RtiRatio, i.e. (Plaintest Size) (Ciphertext Size) is better Arithmecetic unit is ssae:maller: for encryption and signature verification Usually xors => Suitable for low computational power or Ubiquitous devices No. 14 History of CodeCode--BasedBased Code-based PKEs Number Theoretic 1978: McEliece 2000: Error expansion/hold [Loi00] 1977 Hiffie- 1977: RSA Hellman 1985: ECC 1986: Niederreiter Attack [KI03] 1991: GPT PKC Attack on Attack on small cardinality [GPT91] (rank code) em hh GRS [SS92] including BCH [LS01] Goppa code (more generally Attack on sparse alternant code) with large cardinality S [MRS00] me of t attacks oo nn 2001: IND-CCA2 Attac k on LDPC LDPC Conv. in RO 2005: Quasi-Cyclic in general here s here reactio [KI02] BCH subcode 2007: QCQ - Attack on ww 2005: with [Gab05] LDPC [BC07] subfield P GRS subcode [Ove05] 2009: Quasi- tical like tical like attacks attacks ii [[]BL05] 2009: QasiQuasi- Cyclic alternant Attack on QC 2008: ext field Attack on GRS Dyadic [MB09] code [BCG+09] [OTD08] P [Gab08] A lot of cr were subcode Large extension Attack on small [Wie06] degree extension degrees [Wie09] Idea can be [UL09] applied to No. 15 How to see the history Green Letters: Underlying Liner Code : Attack : Already Broken : Not Yet Brok en (()as far as I know as of Dec. 2009) No. 16 History of Non PKE Code-Based Primitives ZKIP: Zero Knowledge Interactive Proof 1994: ZKIP ((gas well as Digital OT: Oblivious Transfer Signature applying Fiat-Shamir heuristic) (random code) [Ste94] Public matrix can be 2001: Dig ita l compressed by generating Signature (Goppa) it from a random seed [CFS01] 2005: Hash Function (random Bleichenbacher’s code) [AFS05] attack [[]Ble06] 2007: Liggght Weight Unlinkable-ID for RFID (Goppa) [SKI06][CKM+07] 2008: Bit (1,2)-OT (Goppa) [DGQ+08] 2008: String (1,2)- With appropriate OT (Goppa) [KMO08] parameter choice [FS09] No. 17 Construction of CodeCode--BasedBased PKCs No. 18 Keys for McEliece PKE Secret key Random Permutation Matrix n Non-Singular Matrix P Sk G Generator matrix of ECC which can correct up to t-error symbols Public key May be systematic if an G’ appropriate IND- I G’’ CCA2 conversion is applied No. 19 Encryption of Primitive MEliMcEliece PKE C=MG’+Z Random vector with weight t Z (0,1,0,0,1,0, ... 0,0,1,0) C Plaintext is a k dimensional vector MG’ Ciphertext over GF(2) M G’ No. 20 Decryption of Primitive MEliMcEliece PKE 1. CP-1=MSG+ZP-1 P-1 C 2. Correct the t-error bits using error- correction algorithm and obtain MS 3. M=MS S-1 S-1 MS M No. 21 Keys for Niederreiter PKE Secret key n-k Non- Random Singular Permutation Matrix P n H Matrix S Parity check matrix of ECC which can correct up to t-error symbols Public key May be I systematic if an H’ appropriate IND- CCA2 conversion H’’ is applied No. 22 Encryption of Primitive Nied erreit er PKE C=ZH’ Plainstext is an n dimensional vector of weight t Ciphertext Z C (0,1,0,0,1,0, ... 0,0,1,0) = ZH’ H’ No. 23 Decryption of Primitive Nied erreit er PKE 1. CS-1=ZH’S-1=ZPH SS-1=(ZP)H S-1 C 2. Correct the t-error bits using error- correction algorithm and obtain ZP 3. Z=ZP P-1 ZP Z P-1 No. 24 Unfortunately Due to the simple structure of a linear code, a lot of practical attacks are known This is the reason why some people still think that code-based PKEs have already been broken Ex. ) Reaction attack can decrypt a given cihipher tex t in O(k). No. 25 Reaction Attack on McEliece PKC Flip one bit of the given ciphertext Let the receiver decrypt it If its reaction is normal, error is within the error correction bound. 1 Receiver (decryption oracl)le) C= 011000101011010 1 1 0 0 0 1 0 1 0 1 1 0 1 Given ciphertext Reaction Countermeasures Attacks Using decryption oracles Against indistinguishability or non- malleability Can be prevented applying an “appropriate” conversion scheme Naïve application sometimes does not work No. 27 Naïve application of OAEP is vulnerable r m Const G Random en Plaintext Number OAEP module H a sh y2 y1 y3 G’ Primitive z McEliece PKC c Ciphertext No. 28 Slight Modification Makes it Provably Secure and Compact r m Const Encryption Random Gen Plaintext Number OAEP Hash module y2 y1 y5 y4 y3 G’ Conv Primitive z McEliece PKC y5 c Ciphertext (Len(y2 ) + Len(y1) ≥ Len(y4 ) + Len(y3 )) and must hold ((Len(y1) ≥ Len(y3 )) or (Len(y1) ≥ Len(y4 ) by swapping y3 and y4 )) No. 29 Decryption of Conversion Plaintext m ? Const G = e OAEP n Error messages between this module integrity check and Ha undecodable error must be s h indistinguishable. (Implementation must take y2 y1 care this!!) y5 y4 y3 G’ Conv Primitive z McEliece PKC y5 c Ciphertext No. 30 In The Case of Niederreiter Make the ciphertext most compact and provably secure in the RO OAEP+ for short plaintext OAEP++ for long plaintext No proof btbut no attack OAEP SAEP+ Insecure (since Niederreiter primitive is position-wise malleable) SAEP No. 31 Provable Security in the Standard Model 2007: IND-CPA in the standard model [NIK+07] 2008: IND-CCA2 in the standard model [DQN08] IND: Indistinguishability CPA: Chosen Plaintext Attack CCA2: Adaptive Chosen Ciphertext Attack No.
Recommended publications
  • Overview of the Mceliece Cryptosystem and Its Security
    Ø Ñ ÅØÑØÐ ÈÙ ÐØÓÒ× DOI: 10.2478/tmmp-2014-0025 Tatra Mt. Math. Publ. 60 (2014), 57–83 OVERVIEW OF THE MCELIECE CRYPTOSYSTEM AND ITS SECURITY Marek Repka — Pavol Zajac ABSTRACT. McEliece cryptosystem (MECS) is one of the oldest public key cryptosystems, and the oldest PKC that is conjectured to be post-quantum se- cure. In this paper we survey the current state of the implementation issues and security of MECS, and its variants. In the first part we focus on general decoding problem, structural attacks, and the selection of parameters in general. We sum- marize the details of MECS based on irreducible binary Goppa codes, and review some of the implementation challenges for this system. Furthermore, we survey various proposals that use alternative codes for MECS, and point out some at- tacks on modified systems. Finally, we review notable existing implementations on low-resource platforms, and conclude with the topic of side channels in the implementations of MECS. 1. Introduction R. J. M c E l i e c e proposed in 1978 [37] a new public key cryptosystem based on the theory of algebraic codes, now called the McEliece Cryptosystem (MECS). Unlike RSA, it was not adopted by the implementers, mainly due to large public key sizes. The interest of researchers in MECS increased with the advent of quantum computing. Unlike systems based on integer factorisation problem and discrete logarithm problem, MECS security is based on the general decoding problem which is NP hard and should resist also attackers with access to the quantum computer. In this article we provide an overview of the MECS, in its original form, and its alternatives.
    [Show full text]
  • Overview of Post-Quantum Public-Key Cryptosystems for Key Exchange
    Overview of post-quantum public-key cryptosystems for key exchange Annabell Kuldmaa Supervised by Ahto Truu December 15, 2015 Abstract In this report we review four post-quantum cryptosystems: the ring learning with errors key exchange, the supersingular isogeny key exchange, the NTRU and the McEliece cryptosystem. For each protocol, we introduce the underlying math- ematical assumption, give overview of the protocol and present some implementa- tion results. We compare the implementation results on 128-bit security level with elliptic curve Diffie-Hellman and RSA. 1 Introduction The aim of post-quantum cryptography is to introduce cryptosystems which are not known to be broken using quantum computers. Most of today’s public-key cryptosys- tems, including the Diffie-Hellman key exchange protocol, rely on mathematical prob- lems that are hard for classical computers, but can be solved on quantum computers us- ing Shor’s algorithm. In this report we consider replacements for the Diffie-Hellmann key exchange and introduce several quantum-resistant public-key cryptosystems. In Section 2 the ring learning with errors key exchange is presented which was introduced by Peikert in 2014 [1]. We continue in Section 3 with the supersingular isogeny Diffie–Hellman key exchange presented by De Feo, Jao, and Plut in 2011 [2]. In Section 5 we consider the NTRU encryption scheme first described by Hoffstein, Piphe and Silvermain in 1996 [3]. We conclude in Section 6 with the McEliece cryp- tosystem introduced by McEliece in 1978 [4]. As NTRU and the McEliece cryptosys- tem are not originally designed for key exchange, we also briefly explain in Section 4 how we can construct key exchange from any asymmetric encryption scheme.
    [Show full text]
  • Comprehensive Efficient Implementations of ECC on C54xx Family of Low-Cost Digital Signal Processors
    Comprehensive Efficient Implementations of ECC on C54xx Family of Low-cost Digital Signal Processors Muhammad Yasir Malik [email protected] Abstract. Resource constraints in smart devices demand an efficient cryptosystem that allows for low power and memory consumption. This has led to popularity of comparatively efficient Elliptic curve cryptog- raphy (ECC). Prior to this paper, much of ECC is implemented on re- configurable hardware i.e. FPGAs, which are costly and unfavorable as low-cost solutions. We present comprehensive yet efficient implementations of ECC on fixed-point TMS54xx series of digital signal processors (DSP). 160-bit prime field ECC is implemented over a wide range of coordinate choices. This paper also implements windowed recoding technique to provide better execution times. Stalls in the programming are mini- mized by utilization of loop unrolling and by avoiding data dependence. Complete scalar multiplication is achieved within 50 msec in coordinate implementations, which is further reduced till 25 msec for windowed- recoding method. These are the best known results for fixed-point low power digital signal processor to date. Keywords: Elliptic curve cryptosystem, efficient implementation, digi- tal signal processor (DSP), low power 1 Introduction No other information security entity has been more extensively studied, re- searched and applied as asymmetric cryptography, thanks to its ability to be cryptographically strong over long spans of time. Asymmetric or public key cryptosystems (PKC) have their foundations in hard mathematical problems, which ensure their provable security at the expanse of implementation costs. So-called “large numbers” provide the basis of asymmetric cryptography, which makes their implementation expensive in terms of computation and memory requirements.
    [Show full text]
  • Public-Key Encryption Schemes with Bounded CCA Security and Optimal Ciphertext Length Based on the CDH and HDH Assumptions
    Public-Key Encryption Schemes with Bounded CCA Security and Optimal Ciphertext Length Based on the CDH and HDH Assumptions Mayana Pereira1, Rafael Dowsley1, Goichiro Hanaoka2, and Anderson C. A. Nascimento1 1 Department of Electrical Engeneering, University of Bras´ılia Campus Darcy Ribeiro, 70910-900, Bras´ılia,DF, Brazil email: [email protected],[email protected], [email protected] 2 National Institute of Advanced Industrial Science and Technology (AIST) 1-18-13, Sotokanda, Chyioda-ku, 101-0021, Tokyo, Japan e-mail: [email protected] Abstract. In [5] Cramer et al. proposed a public-key encryption scheme secure against adversaries with a bounded number of decryption queries based on the decisional Diffie-Hellman problem. In this paper, we show that the same result can be obtained based on weaker computational assumptions, namely: the computational Diffie-Hellman and the hashed Diffie-Hellman assumptions. Keywords: Public-key encryption, bounded chosen ciphertext secu- rity, computational Diffie-Hellman assumption, hashed Diffie-Hellman assumption. 1 Introduction The highest level of security for public-key cryptosystems is indistinguishability against adaptive chosen ciphertext attack (IND-CCA2), proposed by Rackoff and Simon [28] in 1991. The development of cryptosystems with such feature can be viewed as a complex task. Several public-key encryption (PKE) schemes have been proposed with either practical or theoretical purposes. It is possible to obtain IND-CCA2 secure cryptosystems based on many assumptions such as: decisional Diffie-Hellman [7, 8, 26], computational Diffie-Hellman [6, 20], factor- ing [22], McEliece [13, 12], quadratic residuosity [8] and learning with errors [26, 25].
    [Show full text]
  • On the Equivalence of Mceliece's and Niederreiter's Public-Key Cryptosystems Y
    Singapore Management University Institutional Knowledge at Singapore Management University Research Collection School Of Information Systems School of Information Systems 1-1994 On the equivalence of McEliece's and Niederreiter's public-key cryptosystems Y. X. LI Robert H. DENG Singapore Management University, [email protected] X. M. WANG DOI: https://doi.org/10.1109/18.272496 Follow this and additional works at: https://ink.library.smu.edu.sg/sis_research Part of the Information Security Commons Citation LI, Y. X.; DENG, Robert H.; and WANG, X. M.. On the equivalence of McEliece's and Niederreiter's public-key cryptosystems. (1994). IEEE Transactions on Information Theory. 40, (1), 271-273. Research Collection School Of Information Systems. Available at: https://ink.library.smu.edu.sg/sis_research/94 This Journal Article is brought to you for free and open access by the School of Information Systems at Institutional Knowledge at Singapore Management University. It has been accepted for inclusion in Research Collection School Of Information Systems by an authorized administrator of Institutional Knowledge at Singapore Management University. For more information, please email [email protected]. IKANJALIIUNJ UN INrUKb’lAIlUN IHCUKX, VUL. W,IYU. 1, JAIYUAKX IYY4 LI1 REERENCES of Niederreiter’s cryptosystem, by Niederreiter [3] and by Brickell and Odlyzko [4]. Furthermore, we employ the best known attack, the J. Ziv and A. Lempel, “Compression of individual sequences via Lee-Brickell attack [5], to cryptanalyze the two systems. Some new variable-rate coding,” IEEE Trans. Inform. Theory, vol. IT-24, pp. 530-536, Sept. 1978. optimal parameter values and work factors are obtained.
    [Show full text]
  • A Promenade Through the New Cryptography of Bilinear Pairings
    Invited paper appearing in the Proceedings of the IEEE Information Theory Workshop 2006—ITW 2006, Punta del Este, Uruguay, March 2006. c IEEE. Available online at http://www.cs.stanford.edu/˜xb/itw06/. A Promenade through the New Cryptography of Bilinear Pairings Xavier Boyen Voltage Inc. Arastradero Road Palo Alto, California Email: [email protected] Abstract— This paper gives an introductory account of Assumptions rooted in Factoring and the Discrete the origin, nature, and uses of bilinear pairings, arguably Logarithm problem are interesting in that they tend to the newest and hottest toy in a cryptographer’s toolbox. have complementary properties. Factoring, via the RSA A handful of cryptosystems built on pairings are briefly surveyed, including a couple of realizations of the famously and Strong-RSA assumptions, offers a realization of the elusive identity-based encryption primitive. tremendously useful primitive of trapdoor permutation. Discrete Logarithm, in the guises of the Computational I. INTRODUCTION and Decision Diffie-Hellman (CDH and DDH), offers It can be said that much of contemporaneous cryp- us the option to work with either a computational or a tography can be traced to Shannon’s legacy of “secrecy decisional complexity assumption, the latter being use- systems”, an information theoretic foundation. To escape ful to build public-key encryption systems with formal from the one-time pad, however, it has become neces- proofs of security; by contrast, Factoring and RSA-like sary to appeal to a variety of computational complexity problems are essentially computational, and are thus notions, e.g., to leverage short secrets in order to protect inherently more suited for signature and authentication long messages.
    [Show full text]
  • A CCA2 Secure Public Key Encryption Scheme Based on the Mceliece Assumptions in the Standard Model
    A CCA2 Secure Public Key Encryption Scheme Based on the McEliece Assumptions in the Standard Model Rafael Dowsley1, J¨ornM¨uller-Quade2, Anderson C. A. Nascimento1 1 Department of Electrical Engineering, University of Brasilia. Campus Universit´arioDarcy Ribeiro,Brasilia, CEP: 70910-900, Brazil, Email:[email protected], [email protected] 2 Universit¨atKarlsruhe, Institut f¨urAlgorithmen und Kognitive Systeme. Am Fasanengarten 5, 76128 Karlsruhe, Germany. E-mail: [email protected] We show that a recently proposed construction by Rosen and Segev can be used for obtaining the first public key encryption scheme based on the McEliece assumptions which is secure against adaptive chosen ciphertext attacks in the standard model. 1 Introduction Indistinguishability of messages under adaptive chosen ciphertext attacks is the strongest known notion of security for public key encryption schemes (PKE). Many computational assumptions have been used in the literature for obtain- ing cryptosystems meeting such a strong security requirements. Given one-way trapdoor permutations, we know how to obtain CCA2 security from any seman- tically secure public key cryptosystem [14, 20, 12]. Efficient constructions are also known based on number-theoretic assumptions [6] or on identity based encryp- tion schemes [3]. Obtaining a CCA2 secure cryptosystem (even an inefficient one) based on the McEliece assumptions in the standard model has been an open problem in this area for quite a while. Recently, Rosen and Segev proposed an elegant and simple new computa- tional assumption for obtaining CCA2 secure PKEs: correlated products [19]. They provided constructions of correlated products based on the existence of certain lossy trapdoor functions [16] which in turn can be based on the deci- sional Diffie-Hellman problem and on Paillier's decisional residuosity problem [16].
    [Show full text]
  • Coding Theory-Based Cryptopraphy: Mceliece Cryptosystems in Sage
    College of Saint Benedict and Saint John's University DigitalCommons@CSB/SJU Honors Theses, 1963-2015 Honors Program 2013 Coding Theory-Based Cryptopraphy: McEliece Cryptosystems in Sage Christopher Roering College of Saint Benedict/Saint John's University Follow this and additional works at: https://digitalcommons.csbsju.edu/honors_theses Part of the Computer Sciences Commons, and the Mathematics Commons Recommended Citation Roering, Christopher, "Coding Theory-Based Cryptopraphy: McEliece Cryptosystems in Sage" (2013). Honors Theses, 1963-2015. 17. https://digitalcommons.csbsju.edu/honors_theses/17 This Thesis is brought to you for free and open access by DigitalCommons@CSB/SJU. It has been accepted for inclusion in Honors Theses, 1963-2015 by an authorized administrator of DigitalCommons@CSB/SJU. For more information, please contact [email protected]. Coding Theory-Based Cryptography: McEliece Cryptosystems in Sage An Honors Thesis College of St. Benedict/St. John’s University In Partial Fulfillment of the Requirements for Distinction in the Departments of Mathematics and Computer Science by Christopher Roering May 2013 PROJECT TITLE: Coding Theory-Based Cryptography: McEliece Cryptosystems in Sage Approved by: Dr. Sunil Chetty Assistant Professor of Mathematics, Project Advisor Dr. Lynn Ziegler Professor of Computer Science, Project Advisor Dr. Bret Benesh Professor of Mathematics, Department Reader Dr. Robert Campbell Assistant Professor of Mathematics, Department Reader Dr. Robert Hesse Chair, Department of Mathematics Associate Professor Dr. Jim Schnepf Chair, Department of Computer Science Associate Professor Dr. Tony Cunningham Director, Honors Thesis Program 2 Abstract Unlike RSA encryption, McEliece cryptosystems are considered secure in the presence of quantum computers. McEliece cryptosystems leverage error-correcting codes as a mechanism for encryption.
    [Show full text]
  • Codes, Cryptography, and the Mceliece Cryptosystem
    CODES, CRYPTOGRAPHY, AND MCELIECE 1 Codes, Cryptography, and the McEliece Cryptosystem Bethany L. Matsick A Senior Thesis submitted in partial fulfillment of the requirements for graduation in the Honors Program Liberty University Spring 2020 CODES, CRYPTOGRAPHY, AND MCELIECE 2 Acceptance of Senior Honors Thesis This Senior Honors Thesis is accepted in partial fulfillment of the requirements for graduation from the Honors Program of Liberty University. Ethan Smith, Ph.D. Thesis Chair Scott Long, Ph.D. Committee Member David E. Schweitzer, Ph.D. Assistant Honors Director Date CODES, CRYPTOGRAPHY, AND MCELIECE 3 Abstract Over the past several decades, technology has continued to develop at an incredible rate, and the importance of properly securing information has increased significantly. While a variety of encryption schemes currently exist for this purpose, a number of them rely on problems, such as integer factorization, that are not resistant to quantum algorithms. With the reality of quantum computers approaching, it is critical that a quantum-resistant method of protecting information is found. After developing the proper background, we evaluate the potential of the McEliece cryptosystem for use in the post-quantum era by examining families of algebraic geometry codes that allow for increased security. Finally, we develop a family of twisted Hermitian codes that meets the criteria set forth for security. CODES, CRYPTOGRAPHY, AND MCELIECE 4 Codes, Cryptography, and the McEliece Cryptosystem Introduction In 1978, Robert McEliece introduced a public key cryptosystem based on the difficult problem of decoding a random linear code. Due to its large key size, the McEliece cryptosystem has yet to see widespread use.
    [Show full text]
  • Ecrypt Ii Ecrypt Ii
    ECRYPT II ICT-2007-216676 ECRYPT II European Network of Excellence in Cryptology II Network of Excellence Information and Communication Technologies D.MAYA.5 Jointly Executed Research Activities on Design and Analysis of Primitives and Protocols Due date of deliverable: N.A. Actual submission date: N.A. Start date of project: 1 August 2008 Duration: 4 years Lead contractor: Katholieke Universiteit Leuven (KUL) Revision 1.1 Project co-funded by the European Commission within the 7th Framework Programme Dissemination Level PU Public X PP Restricted to other programme participants (including the Commission services) RE Restricted to a group specified by the consortium (including the Commission services) CO Confidential, only for members of the consortium (including the Commission services) Jointly Executed Research Activities on Design and Analysis of Primitives and Protocols Editor Nigel Smart (BRIS) N.A. Revision 1.1 The work described in this report has in part been supported by the Commission of the European Com- munities through the ICT program under contract ICT-2007-216676. The information in this document is provided as is, and no warranty is given or implied that the information is fit for any particular purpose. The user thereof uses the information at its sole risk and liability. Contents 1 Introduction 1 2 Work on Standardized or Deployed Schemes 3 2.1 TLS/SSL . 3 2.2 SSH . 4 2.3 EMV . 4 2.4 RSA PKCS# v1.5 Encryption . 6 2.5 RSA-FDH Signature Scheme . 7 2.6 Timestamps in ISO-9798 . 7 2.7 Machine Readable Travel Documents (e-Passports) . 7 2.8 Direct Anonymous Attestation .
    [Show full text]
  • The Mceliece Cryptosystem and Its Variants 1. Introduction to Coding
    Quantum resistant code-based cryptosystems: the McEliece cryptosystem and its variants Jon-Lark Kim Sogang University, South Korea March 1, 2019 At Crypto seminar, Univ. of California-Irvine Abstract: The McEliece cryptosystem is the first code-based public key cryptosystem proposed by Robert McEliece in 1978 a few years after the appearance of RSA. The original McEliece cryptosystem uses binary Goppa codes which are a subclass of Algebraic Geometric Codes and it is still unbroken under quantum attack. In this talk, we introduce basic facts about coding theory and discuss various code-based public key cryptosystems including our new cryptosystem McNie, which is a combination of the McEliece cryptosystem and the Niederreiter cryptosystem. 1. Introduction to Coding Theory Shannon(Ph.D. in Math) tried to understand both coding and cryptography from information theory point of view. In particular, the concept of Information Entropy is due to him. Shannon’s communication channel is given below. Main idea is to add redundant bits to message so that whenever there is an error in the coded message(i.e. codeword) we can find an error position in the codeword and correct it. Shannon’s work on information theory is motivated by Richard Hamming(Ph.D. in Math), a colleague at Bell Lab. Hamming found the first nontrivial one error correcting codes. Shannon showed that there exist codes which can correct any number of errors keeping the information rate below the channel capacity. From now on we give some basic concepts from coding theory. A linear [n,k,d] code with d=n-k+1 is called an MDS code.
    [Show full text]
  • The Factoring Dead: Preparing for the Cryptopocalypse
    THE FACTORING DEAD: PREPARING FOR THE CRYPTOPOCALYPSE Javed Samuel — javed[at]isecpartners[dot]com iSEC Partners, Inc 123 Mission Street, Suite 1020 San Francisco, CA 94105 https://www.isecpartners.com March 20, 2014 Abstract This paper will explain the latest breakthroughs in the academic cryptography community and look ahead at what practical issues could arise for popular cryptosystems. Specifically, we will focus on the recent major devel- opments in discrete mathematics and their potential ability to undermine our trust in the most basic asymmetric primitives, including RSA. We will explain the basic theories behind RSA and the state-of-the-art in large number- ing factoring, and how several recent papers may point the way to massive improvements in this area. The paper will then switch to the practical aspects of the doomsday scenario, and will answer the question “What happens the day after RSA is broken?” We will point out the many obvious and hidden uses of RSA and related algorithms and outline how software engineers and security teams can operate in a post-RSA world. We will also discuss the results of our survey of popular products and software, and point out the ways in which individuals can prepare for the “zombie cryptopocalypse”. 1 INTRODUCTION Over the past few years, there have been numerous attacks on the current SSL infrastructure. These have ranged from BEAST [97], CRIME [88], Lucky 13 [2][86], RC4 bias attacks [1][91] and BREACH [42]. These attacks all show the fragility of the current SSL architecture as vulnerabilities have been found in a variety of features ranging from compression, timing and padding [90].
    [Show full text]