{"id":4111,"date":"2024-09-21T18:26:52","date_gmt":"2024-09-21T18:26:52","guid":{"rendered":"https:\/\/workhouse.sweetdishy.com\/?p=4111"},"modified":"2024-09-24T11:37:43","modified_gmt":"2024-09-24T11:37:43","slug":"quantum-cryptography","status":"publish","type":"post","link":"https:\/\/workhouse.sweetdishy.com\/index.php\/2024\/09\/21\/quantum-cryptography\/","title":{"rendered":"Quantum Cryptography"},"content":{"rendered":"\n<p>The most spectacular successes of quantum information processing tech-<\/p>\n\n\n\n<p>niques have been in the \ufb01eld of cryptography, the science of secret message<\/p>\n\n\n\n<p>exchange.<\/p>\n\n\n\n<p>1<\/p>\n\n\n\n<p>The reason why Shor\u2019s algorithm shot into prominence and major<\/p>\n\n\n\n<p>players started funding quantum computing research was the challenge it of-<\/p>\n\n\n\n<p>fered to currently trusted schemes of data encryption, particularly the RSA<\/p>\n\n\n\n<p>scheme that is the basis of almost all current public encryption systems, your<\/p>\n\n\n\n<p>online banking transactions or purchases for instance!<\/p>\n\n\n\n<p>Encrypt<\/p>\n\n\n\n<p>Decrypt<\/p>\n\n\n\n<p>FIGURE 9.4: Communication scenario for cryptography.<\/p>\n\n\n\n<p>In this section we will provide a quick birds-eye view of major crypto-<\/p>\n\n\n\n<p>graphic paradigms and where quantum information processing steps in to<\/p>\n\n\n\n<p>make things better. For a delightful survey of the history and current trends<\/p>\n\n\n\n<p>in cryptography I urge you to read the book by Simon Singh [66]. The progress<\/p>\n\n\n\n<p>in quantum cryptography is comprehensively dealt with in the review article<\/p>\n\n\n\n<p>by Gisin et. al. [38].<\/p>\n\n\n\n<p>1<\/p>\n\n\n\n<p>The word \u201ccryptography\u201d is derived from the Greek language: crypto=\u201csecret,\u201d gra-<\/p>\n\n\n\n<p>phy=\u201cwriting.\u201d It is actually one part of the science of \u201ccryptology,\u201d the second part being<\/p>\n\n\n\n<p>\u201ccryptanalysis,\u201d which is the art of decoding an encryption. These two go hand-in-hand: to<\/p>\n\n\n\n<p>test the success of any cryptographic scheme a thorough cryptanalysis is important.<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/learning.oreilly.com\/api\/v2\/epubs\/urn:orm:book:9781482238129\/files\/bgd1.png\" width=\"685\" height=\"343\"><\/p>\n\n\n\n<p>184 Introduction to Quantum Physics and Information Processing<\/p>\n\n\n\n<p>9.3.1 Basic cryptographic paradigms<\/p>\n\n\n\n<p>Almost ever since mankind used language for communication, need was<\/p>\n\n\n\n<p>felt for secrecy in that communication, as a protection of personal or national<\/p>\n\n\n\n<p>interests. The basic scheme (Figure 9.4) is the conversion of a natural lan-<\/p>\n\n\n\n<p>guage into a secret form, i.e., encryption, before transmission, and this needs<\/p>\n\n\n\n<p>to be tested against di\ufb00erent eavesdropping techniques. Several interesting<\/p>\n\n\n\n<p>cryptographic schemes have evolved as our mathematical and logical prowess<\/p>\n\n\n\n<p>increased. For instance, many of us may have played as children by exchanging<\/p>\n\n\n\n<p>secret notes in which the text was encoded by replacing each letter by another<\/p>\n\n\n\n<p>shifted down the alphabet by a few letters. This in fact was an ancient cipher<\/p>\n\n\n\n<p>system attributed to Julius Caesar! The receiver then decodes the message by<\/p>\n\n\n\n<p>shifting the letters back by the same amount.<\/p>\n\n\n\n<p>Example 9.3.1. The Caesar Cipher: suppose you decide to encode by shifting<\/p>\n\n\n\n<p>each alphabet by 5 letters:<\/p>\n\n\n\n<p>Plain: A B C D E F G H I J . . . Y Z<\/p>\n\n\n\n<p>Cipher: F G H I J K L M N O . . . D E<\/p>\n\n\n\n<p>then the message \u201cTHIS IS A SECRET\u201d would be encoded as \u201cYMNX NX<\/p>\n\n\n\n<p>FJHWT.\u201d The sender and receiver both agree as to what scheme of encoding<\/p>\n\n\n\n<p>they\u2019ll use. The danger in such messaging is that if the message is intercepted,<\/p>\n\n\n\n<p>then a clever cryptanalyst can \ufb01gure out the scheme used and easily translate<\/p>\n\n\n\n<p>any further messages sent by the same scheme. One can try to devise more<\/p>\n\n\n\n<p>complicated translation schemes, but as long as they are one-to-one, statistical<\/p>\n\n\n\n<p>methods such as the average frequency of letters in the English language may<\/p>\n\n\n\n<p>be used to break the code.<\/p>\n\n\n\n<p>The basic paradigm for any secret communication has two requisites:<\/p>\n\n\n\n<p>1. An eavesdropper should not be able to decrypt the message<\/p>\n\n\n\n<p>2. The sender should not be impersonated.<\/p>\n\n\n\n<p>The process of encryption is basically a mathematical transformation E on<\/p>\n\n\n\n<p>the input message m, which converts the plain text into a coded ciphertext c.<\/p>\n\n\n\n<p>The set of symbols used for the cypher is known as the alphabet. The physical<\/p>\n\n\n\n<p>analog is placing the message in a box that is then locked. The locked box<\/p>\n\n\n\n<p>is then transported to Bob, who opens the box, i.e., decodes the message,<\/p>\n\n\n\n<p>and obtains the plain text again. In this raw form of the protocol, security<\/p>\n\n\n\n<p>is minimal since the message can always be intercepted by an eavesdropper<\/p>\n\n\n\n<p>(Eve), who can then try to break the code (or recreate the key). The only<\/p>\n\n\n\n<p>way this threat can be met is that each time Alice wishes to send a message,<\/p>\n\n\n\n<p>she uses a new box (or a new algorithm for encryption) and that is wasteful.<\/p>\n\n\n\n<p>Instead, what she opts for is to change the lock and therefore the key K<\/p>\n\n\n\n<p>A<\/p>\n\n\n\n<p>used<\/p>\n\n\n\n<p>for locking the box. Bob then unlocks using his key K<\/p>\n\n\n\n<p>B<\/p>\n\n\n\n<p>, which has to be the<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/learning.oreilly.com\/api\/v2\/epubs\/urn:orm:book:9781482238129\/files\/bgd2.png\" width=\"671\" height=\"465\"><\/p>\n\n\n\n<p>Information and Communication 185<\/p>\n\n\n\n<p>correct one for the lock Alice used. The problem of keeping the message secret<\/p>\n\n\n\n<p>now reduces to keeping the keys secure.<\/p>\n\n\n\n<p>FIGURE 9.5: Private key cryptography.<\/p>\n\n\n\n<p>Mathematically, we represent the process of cryptography by<\/p>\n\n\n\n<p>m \u2192 E(m, K<\/p>\n\n\n\n<p>A<\/p>\n\n\n\n<p>) = c (encryption) (9.3)<\/p>\n\n\n\n<p>c \u2192 D(c, K<\/p>\n\n\n\n<p>B<\/p>\n\n\n\n<p>) = m (decryption). (9.4)<\/p>\n\n\n\n<p>The functions E and D need to be inverses of each other in this sense:<\/p>\n\n\n\n<p>D(E) = . (9.5)<\/p>\n\n\n\n<p>The encrypting function can be kept simple, so as to be computationally<\/p>\n\n\n\n<p>e\ufb03cient, and can be publicly known. This is the modern principle of cryptog-<\/p>\n\n\n\n<p>raphy, sometimes known as Kerckho\ufb00 \u2019s principle. The weak point of an<\/p>\n\n\n\n<p>encryption system should be easily changed if it falls into the enemy\u2019s hands.<\/p>\n\n\n\n<p>The choice then is for the key system, whether the encoding key is kept secret<\/p>\n\n\n\n<p>or not. This results in two sets of schemes:<\/p>\n\n\n\n<p>1. Symmetric or private key cryptography: Alice and Bob share the same<\/p>\n\n\n\n<p>key K (Figure 9.5). This is like the box with a lock, whose key is shared<\/p>\n\n\n\n<p>by both parties. The sharing must be done in an e\ufb03cient and secret<\/p>\n\n\n\n<p>way. The catch is in this step. If A and B are far separated, how can<\/p>\n\n\n\n<p>one transmit the key to the other in a secure way? This is the problem<\/p>\n\n\n\n<p>of secure key distribution.<\/p>\n\n\n\n<p>2. Public key cryptography: here the same key is not used by both parties.<\/p>\n\n\n\n<p>The sender uses a public or insecure key K<\/p>\n\n\n\n<p>A<\/p>\n\n\n\n<p>to encrypt the message<\/p>\n\n\n\n<p>(Figure 9.6). The decryption process is achieved by a private, secure<\/p>\n\n\n\n<p>keyK<\/p>\n\n\n\n<p>B<\/p>\n\n\n\n<p>. This process is like a ballot box that is locked and given to the<\/p>\n\n\n\n<p>sender, who posts the message in it. The receiver alone can unlock it<\/p>\n\n\n\n<p>with his secret key. Here the E and D processes are asymmetric, and<\/p>\n\n\n\n<p>the problem of distribution of keys doesn\u2019t arise. The security of the<\/p>\n\n\n\n<p>protocol lies in the di\ufb03culty of operating D without the knowledge of<\/p>\n\n\n\n<p>K<\/p>\n\n\n\n<p>B<\/p>\n\n\n\n<p>.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>186 Introduction to Quantum Physics and Information Processing<\/p>\n\n\n\n<p>FIGURE 9.6: Public key cryptography<\/p>\n\n\n\n<p>Due to the di\ufb03culty in sharing truly secure keys, especially when a large<\/p>\n\n\n\n<p>number of parties are involved, modern cryptographic schemes are usually<\/p>\n\n\n\n<p>of the second kind. One of the most widely used protocols for public-key<\/p>\n\n\n\n<p>encryption is a two-step process due to Di\ufb03e and Hellman [28], and by Merkle<\/p>\n\n\n\n<p>[47]. Known as the D\u2013H protocol, Alice and Bob each have a private key<\/p>\n\n\n\n<p>denoted L and a public key denoted K.<\/p>\n\n\n\n<p>Encryption (Alice): c<\/p>\n\n\n\n<p>1<\/p>\n\n\n\n<p>= E(m, L<\/p>\n\n\n\n<p>A<\/p>\n\n\n\n<p>); c = E(c<\/p>\n\n\n\n<p>1<\/p>\n\n\n\n<p>, K<\/p>\n\n\n\n<p>B<\/p>\n\n\n\n<p>)<\/p>\n\n\n\n<p>Decryption (Bob): m<\/p>\n\n\n\n<p>1<\/p>\n\n\n\n<p>= D(c, L<\/p>\n\n\n\n<p>B<\/p>\n\n\n\n<p>); m = D(m<\/p>\n\n\n\n<p>1<\/p>\n\n\n\n<p>, K<\/p>\n\n\n\n<p>A<\/p>\n\n\n\n<p>). (9.6)<\/p>\n\n\n\n<p>Exercise 9.2. Show that in the two-way public key cryptosystem of Equation 9.6,<\/p>\n\n\n\n<p>E and D are indeed inverses of each other.<\/p>\n\n\n\n<p>Example 9.3.2. Private key cryptography: the Vernam cipher or one-time pad.<\/p>\n\n\n\n<p>A and B agree on a common encryption system and share a common<\/p>\n\n\n\n<p>secret key K. One example of such an encryption is encoding the message<\/p>\n\n\n\n<p>in N symbols and performing a bitwise addition mod N with the key. The<\/p>\n\n\n\n<p>inverse is performed using the same key.<\/p>\n\n\n\n<p>c = m + k mod N, m = c \u2212 K mod N.<\/p>\n\n\n\n<p>\u2022 The key is a one-time use only. This is because it can be easily recon-<\/p>\n\n\n\n<p>structed from the cipher if it is intercepted.<\/p>\n\n\n\n<p>\u2022 The advantage of this technique is that the process is computationally<\/p>\n\n\n\n<p>simple.<\/p>\n\n\n\n<p>\u2022 C. Shannon has proved that this system is truly unbreakable as long as<\/p>\n\n\n\n<p>the key is secret and is of the same length as the message<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The most spectacular successes of quantum information processing tech- niques have been in the \ufb01eld of cryptography, the science of secret message exchange. 1 The reason why Shor\u2019s algorithm shot into prominence and major players started funding quantum computing research was the challenge it of- fered to currently trusted schemes of data encryption, particularly the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4043,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[498],"tags":[],"class_list":["post-4111","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-information-and-communication"],"jetpack_featured_media_url":"https:\/\/workhouse.sweetdishy.com\/wp-content\/uploads\/2024\/09\/informative.png","_links":{"self":[{"href":"https:\/\/workhouse.sweetdishy.com\/index.php\/wp-json\/wp\/v2\/posts\/4111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/workhouse.sweetdishy.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/workhouse.sweetdishy.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/workhouse.sweetdishy.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/workhouse.sweetdishy.com\/index.php\/wp-json\/wp\/v2\/comments?post=4111"}],"version-history":[{"count":2,"href":"https:\/\/workhouse.sweetdishy.com\/index.php\/wp-json\/wp\/v2\/posts\/4111\/revisions"}],"predecessor-version":[{"id":4581,"href":"https:\/\/workhouse.sweetdishy.com\/index.php\/wp-json\/wp\/v2\/posts\/4111\/revisions\/4581"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/workhouse.sweetdishy.com\/index.php\/wp-json\/wp\/v2\/media\/4043"}],"wp:attachment":[{"href":"https:\/\/workhouse.sweetdishy.com\/index.php\/wp-json\/wp\/v2\/media?parent=4111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/workhouse.sweetdishy.com\/index.php\/wp-json\/wp\/v2\/categories?post=4111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/workhouse.sweetdishy.com\/index.php\/wp-json\/wp\/v2\/tags?post=4111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}