{"id":7773,"date":"2018-10-22T14:26:35","date_gmt":"2018-10-22T18:26:35","guid":{"rendered":"https:\/\/www.thesslstore.com\/blog\/?p=7773"},"modified":"2018-10-22T14:26:35","modified_gmt":"2018-10-22T18:26:35","slug":"post-quantum-encryption","status":"publish","type":"post","link":"https:\/\/www.thesslstore.com\/blog\/post-quantum-encryption\/","title":{"rendered":"Let\u2019s talk about Post-Quantum Encryption"},"content":{"rendered":"<h2>Why all the fervor over a technology that\u2019s still 8-10 years away?<\/h2>\n<p>We\u2019ve discussed <a href=\"https:\/\/www.thesslstore.com\/blog\/quantum-computings-threat-public-key-cryptography-need-worry\/\">Quantum computing<\/a> and the <a href=\"https:\/\/www.thesslstore.com\/blog\/google-prepares-quantum-computing-risks\/\">potential threat<\/a> it poses to our current cryptosystems before, but after our COO spent a week out at the DigiCert roundtable discussing the future of PKI and encryption last week, we figured it would be a good time to double back and cover it again.<\/p>\n<p>As we wrote about last month, <a href=\"https:\/\/www.thesslstore.com\/blog\/quantum-safe-encryption-digicert\/\">DigiCert is partnering with ISARA on creating post-quantum IoT certificates<\/a> that will be able to withstand the coming quantum computing revolution. But that revolution is still 8-10 years away. So why is there such a concerted effort to start creating post-quantum or quantum-proof encryption now?<\/p>\n<p>Let\u2019s hash it out\u2026<span id=\"newline\"><\/span><\/p>\n<h2>The threat of quantum computing<\/h2>\n<p>RSA or Rivest-Shamir-Adleman is the most widely used <a href=\"https:\/\/www.thesslstore.com\/blog\/public-key-cryptography-key-exchange\/\">public key cryptosystem<\/a>, so we\u2019ll use it as our example when we discuss why quantum computing poses a threat. RSA is based on the factorization of prime numbers. But without knowing what those numbers are, and they are kept a secret, the best a computer can do is guess. Computationally, this isn\u2019t necessarily difficult, it\u2019s just the sheer number of possibilities that creates the problem.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-7484\" src=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/09\/qubit-e1537819050284-300x300.jpg\" alt=\"quantum-safe encryption\" width=\"300\" height=\"300\" srcset=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/09\/qubit-e1537819050284-300x300.jpg 300w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/09\/qubit-e1537819050284.jpg 398w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>Modern computers operate in binary on units called bits. The bit is either a 1 or 0. Quantum computing is different, practically requiring a degree in physics to truly comprehend, but it starts with the units, called Quantum Bits or Qubits. Qubits can be in superposition, meaning they be both a 0 and a 1 simultaneously. How this works is based on quantum physics and there\u2019s an example with a coin in a box that is deeply unsatisfying, so let\u2019s just leave at the idea they can be in superposition.<\/p>\n<p>Now let\u2019s talk about why quantum computing represents a threat to our current cryptosystem, this is excerpted from our own <a href=\"https:\/\/www.thesslstore.com\/blog\/quantum-computings-threat-public-key-cryptography-need-worry\/\">Jay Thakkar\u2019s discussion of quantum-side of quantum computing<\/a>:<\/p>\n<blockquote><p>Our normal computers can try only one combination at a time because it\u2019s using bits. Quantum computer, on the other hand, works on qubits. Therefore, a quantum computer operating on a single qubit can try cracking it using two values at a time. Similarly, a Quantum Computer with two qubits can be in four positions. We can say that a Qunatum Computer with n qubits can try 2<sup>n<\/sup> combinations simultaneously. Bristlecone, which has 72 qubits, can try 2<sup>72<\/sup> (4, 722, 366, 482, 869, 645, 213, 696) values.<\/p><\/blockquote>\n<p>So, while a 2048-bit RSA key is currently adequate owing to the fact that it would theoretically take a modern computer <a href=\"https:\/\/www.thesslstore.com\/blog\/quantum-computings-threat-public-key-cryptography-need-worry\/\">6.4 quadrillion years to crack it<\/a>, guessing one combination at a time. But the aforementioned Bristlecone, which is currently the world\u2019s fastest quantum computer at 72 qubits, could crack a 2,048-bit RSA key in no time.<\/p>\n<p>And that obviously represents a major problem, specifically for RSA, but for other cryptosystems as well. And RSA isn\u2019t well-suited to combat this. The transition from 1024-bit keys to 2048-bit ones increased CPU usage between 4-7 times based on server type, etc. Going up to 3072-bit or 4096-bit key lengths would put even greater burden on the servers handling PKI functions, and the improvement to the security of those keys is not consummate. As the keys get bigger, the resources needed increase more and more while the gains being made are less and less.<\/p>\n<p>This performance issue is partially why you\u2019re already seeing a push towards more elliptic curve-based cryptosystems, though even those aren\u2019t going to be quantum proof. Also, it\u2019s worth noting that symmetric cryptosystems and hashing functions aren\u2019t considered as at-risk as public key cryptosystems.<\/p>\n<h2>What is Post-Quantum or Quantum-Proof encryption?<\/h2>\n<p>Right now, public key cryptosystems are based on one of three kinds of mathematical problem:<\/p>\n<ul>\n<li>Prime Factorization<\/li>\n<li>Discrete Logarithm<\/li>\n<li>Elliptic Curve<\/li>\n<\/ul>\n<p>We\u2019ve already covered Prime Factorization as much as we need to. <a href=\"https:\/\/www.thesslstore.com\/blog\/understanding-ecc-5-minutes\/\">We\u2019ve got a great guide on ECC<\/a>. And it\u2019s probably not worth going too far into the weeds on logarithms because it\u2019s only going to get us distracted. All of these would be vulnerable to quantum computing, which will probably be feasible in 8-10 years.<\/p>\n<p>Again, this is less likely to affect hash functions and symmetric cryptosystem, where it\u2019s believed that simply increasing key size should make systems like AES sufficiently quantum-resistant.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-7267\" src=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-181538482-300x300.jpg\" alt=\"public key encryption\" width=\"300\" height=\"300\" srcset=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-181538482-300x300.jpg 300w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-181538482-768x768.jpg 768w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-181538482-1024x1024.jpg 1024w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/08\/bigstock-181538482.jpg 1600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>But Public Key cryptosystems are going to need an overhaul, and there\u2019s work being done in several areas:<\/p>\n<ul>\n<li>Lattice-based cryptography<\/li>\n<li>Multivariate cryptography<\/li>\n<li>Hash-based cryptography<\/li>\n<li>Code-based cryptography<\/li>\n<li>Supersingular Elliptic Curve cryptography<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.thesslstore.com\/blog\/quantum-safe-encryption-digicert\/\">DigiCert has partnered with ISARA<\/a> on creating post-quantum certificates for Internet of Things (IoT) devices. ISARA is currently working on several post-quantum standards, two of which it has submitted to the National Institute for Standards in Technology (NIST). One is lattice-based (Qtesla), the other code-based (QC-MDPR KEM).<\/p>\n<p>The idea is this: DigiCert and ISARA will create digital certificates that are underpinned by two public key cryptosystems, a current one like RSA and then a post-quantum one like Qtesla or QC-MDPR KEM.<\/p>\n<p>While short-lived digital certificates like you see with SSL\/TLS or digital signing can wait a little bit longer before being made quantum-resistant, the need is far more pressing with IoT devices. Many of these devices will need to be used for years, some could have lifespans lasting decades. As more and more devices that will still be in use in 8-10 years \u2013 when all of this quantum computing technology is estimated to become viable \u2013 come online, the need to ensure they won\u2019t be vulnerable to quantum computing only grows.<\/p>\n<p>There\u2019s still a lot we need to figure out about how SSL\/TLS and encryption in general will evolve in the face of the oncoming quantum revolution, endeavors like the DigiCert\/ISARA one help gives us an idea of what it might look like.<\/p>\n<p><em>As always, leave any comments or questions below\u2026<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Why all the fervor over a technology that\u2019s still 8-10 years away? We\u2019ve discussed Quantum computing and the potential threat it poses to our current cryptosystems before, but after our&#8230;<\/p>\n","protected":false},"author":6,"featured_media":7774,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":"","tve_updated_post":"","tve_custom_css":"","tve_user_custom_css":"","tve_globals":{},"tcb2_ready":0,"tcb_editor_enabled":0,"tve_landing_page":"","_tve_header":"","_tve_footer":""},"categories":[130],"tags":[241,242],"class_list":["post-7773","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-everything-encryption","tag-post-quantum-cryptography","tag-quantum-computers","post-with-tags"],"views":12212,"jetpack_featured_media_url":"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2018\/10\/bigstock-Blue-Glowing-Magical-Quantum-238611040.jpg","_links":{"self":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/7773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/comments?post=7773"}],"version-history":[{"count":0,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/7773\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media\/7774"}],"wp:attachment":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media?parent=7773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/categories?post=7773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/tags?post=7773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}