Decipherment with a Million Random Restarts

Total Page:16

File Type:pdf, Size:1020Kb

Decipherment with a Million Random Restarts Decipherment with a Million Random Restarts Taylor Berg-Kirkpatrick Dan Klein Computer Science Division University of California, Berkeley {tberg,klein}@cs.berkeley.edu Abstract in accuracy even as we scale the number of ran- dom restarts up into the hundred thousands. In both This paper investigates the utility and effect of cases the difference between few and many random running numerous random restarts when us- restarts is the difference between almost complete ing EM to attack decipherment problems. We failure and successful decipherment. find that simple decipherment models are able We also find that millions of random restarts can to crack homophonic substitution ciphers with high accuracy if a large number of random be helpful for performing exploratory analysis. We restarts are used but almost completely fail look at some empirical properties of decipherment with only a few random restarts. For partic- problems, visualizing the distribution of local op- ularly difficult homophonic ciphers, we find tima encountered by EM both in a successful deci- that big gains in accuracy are to be had by run- pherment of a homophonic cipher and in an unsuc- ning upwards of 100K random restarts, which cessful attempt to decipher Zodiac 340. Finally, we we accomplish efficiently using a GPU-based attack a series of ciphers generated to match proper- parallel implementation. We run a series of ties of Zodiac 340 and use the results to argue that experiments using millions of random restarts in order to investigate other empirical proper- Zodiac 340 is likely not a homophonic cipher under ties of decipherment problems, including the the commonly assumed linearization order. famously uncracked Zodiac 340. 2 Decipherment Model 1 Introduction Various types of ciphers have been tackled by the NLP community with great success (Knight et al., What can a million restarts do for decipherment? 2006; Snyder et al., 2010; Ravi and Knight, 2011). EM frequently gets stuck in local optima, so running Many of these approaches learn an encryption key between ten and a hundred random restarts is com- by maximizing the score of the decrypted message mon practice (Knight et al., 2006; Ravi and Knight, under a language model. We focus on homophonic 2011; Berg-Kirkpatrick and Klein, 2011). But, how substitution ciphers, where the encryption key is a important are random restarts and how many random 1-to-many mapping from a plaintext alphabet to a restarts does it take to saturate gains in accuracy? cipher alphabet. We use a simple method introduced We find that the answer depends on the cipher. We by Knight et al. (2006): the EM algorithm (Demp- look at both Zodiac 408, a famous homophonic sub- ster et al., 1977) is used to learn the emission pa- stitution cipher, and a more difficult homophonic ci- rameters of an HMM that has a character trigram pher constructed to match properties of the famously language model as a backbone and the ciphertext unsolved Zodiac 340. Gains in accuracy saturate af- as the observed sequence of emissions. This means ter only a hundred random restarts for Zodiac 408, that we learn a multinomial over cipher symbols for but for the constructed cipher we see large gains each plaintext character, but do not learn transition 874 Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, pages 874–878, Seattle, Washington, USA, 18-21 October 2013. c 2013 Association for Computational Linguistics parameters, which are fixed by the language model. 1 -1460 We predict the deciphered text using posterior de- 0.9 coding in the learned HMM. -1470 0.8 -1480 2.1 Implementation 0.7 Log likelihood 0.6 Log likelihood -1490 Running multiple random restarts means running Accuracy EM to convergence multiple times, which can be 0.5 Accuracy -1500 computationally intensive; luckily, restarts can be 0.4 run in parallel. This kind of parallelism is a good -1510 0.3 fit for the Same Instruction Multiple Thread (SIMT) -1520 hardware paradigm implemented by modern GPUs. 0.2 We implemented EM with parallel random restarts 0.1 -1530 using the CUDA API (Nickolls et al., 2008). With a 1 10 100 1000 10000 100000 1e+06 GPU workstation,1 we can complete a million ran- Number of random restarts dom restarts roughly a thousand times more quickly Figure 1: Zodiac 408 cipher. Accuracy by best model score and than we can complete the same computation with a best model score vs. number of random restarts. Bootstrapped serial implementation on a CPU. from 1M random restarts. 3 Experiments tions.3 We found that smoothing EM was important for good performance. We added a smoothing con- We ran experiments on several homophonic sub- stant of 0.1 to the expected emission counts before stitution ciphers: some produced by the infamous each M-step. We tuned this value on a small held Zodiac killer and others that were automatically out set of automatically generated ciphers. generated to be similar to the Zodiac ciphers. In In all experiments we used a trigram character each of these experiments, we ran numerous random language model that was linearly interpolated from restarts; and in all cases we chose the random restart character unigram, bigram, and trigram counts ex- that attained the highest model score in order to pro- tracted from both the Google N-gram dataset (Brants duce the final decode. and Franz, 2006) and a small corpus (about 2K 3.1 Experimental Setup words) of plaintext messages authored by the Zodiac killer.4 The specifics of how random restarts are produced is usually considered a detail; however, in this work 3.2 An Easy Cipher: Zodiac 408 it is important to describe the process precisely. In Zodiac 408 is a homophonic cipher that is 408 char- order to generate random restarts, we sampled emis- acters long and contains 54 different cipher sym- sion parameters by drawing uniformly at random bols. Produced by the Zodiac killer, this cipher was from the interval [0, 1] and then normalizing. The solved, manually, by two amateur code-breakers a corresponding distribution on the multinomial emis- week after its release to the public in 1969. Ravi and sion parameters is mildly concentrated at the center Knight (2011) were the first to crack Zodiac 408 us- of the simplex.2 ing completely automatic methods. For each random restart, we ran EM for 200 itera- In our first experiment, we compare a decode of 1We used a single workstation with three NVIDIA GTX 580 Zodiac 408 using one random restart to a decode us- GPUs. These are consumer graphics cards introduced in 2011. ing 100 random restarts. Random restarts have high 2We also ran experiments where emission parameters were drawn from Dirichlet distributions with various concentration 3While this does not guarantee convergence, in practice 200 parameter settings. We noticed little effect so long as the distri- iterations seems to be sufficient for the problems we looked at. bution did not favor the corners of the simplex. If the distribu- 4The interpolation between n-gram orders is uniform, and tion did favor the corners of the simplex, decipherment results the interpolation between corpora favors the Zodiac corpus with deteriorated sharply. weight 0.9. 875 variance, so when we present the accuracy corre- 0.8 -1280 sponding to a given number of restarts we present an 0.75 -1285 average over many bootstrap samples, drawn from 0.7 a set of one million random restarts. If we attack 0.65 Zodiac 408 with a single random restart, on aver- -1290 Log likelihood 0.6 age we achieve an accuracy of 18%. If we instead Log likelihood Accuracy use 100 random restarts we achieve a much better 0.55 -1295 average accuracy of 90%. The accuracies for vari- Accuracy 0.5 -1300 ous numbers of random restarts are plotted in Fig- 0.45 ure 1. Based on these results, we expect accuracy 0.4 -1305 to increase by about 72% when using 100 random 0.35 restarts instead of a single random restart; however, 0.3 -1310 using more than 100 random restarts for this partic- 1 10 100 1000 10000 100000 1e+06 ular cipher does not appear to be useful. Number of random restarts Also in Figure 1, we plot a related graph, this time Figure 2: Synth 340 cipher. Accuracy by best model score and showing the effect that random restarts have on the best model score vs. number of random restarts. Bootstrapped achieved model score. By construction, the (maxi- from 1M random restarts. mum) model score must increase as we increase the number of random restarts. We see that it quickly 3.3 A Hard Cipher: Synth 340 saturates in the same way that accuracy did. What do these graphs look like for a harder cipher? This raises the question: have we actually Zodiac 340 is the second cipher released by the Zo- achieved the globally optimal model score or have diac killer, and it remains unsolved to this day. How- we only saturated the usefulness of random restarts? ever, it is unknown whether Zodiac 340 is actually a We can’t prove that we have achieved the global op- homophonic cipher. If it were a homophonic cipher timum,5 but we can at least check that we have sur- we would certainly expect it to be harder than Zo- passed the model score achieved by EM when it is diac 408 because Zodiac 340 is shorter (only 340 initialized with the gold encryption key. On Zodiac characters long) and at the same time has more ci- 408, if we initialize with the gold key, EM finds pher symbols: 63.
Recommended publications
  • Classifying Classic Ciphers Using Machine Learning
    San Jose State University SJSU ScholarWorks Master's Projects Master's Theses and Graduate Research Spring 5-20-2019 Classifying Classic Ciphers using Machine Learning Nivedhitha Ramarathnam Krishna San Jose State University Follow this and additional works at: https://scholarworks.sjsu.edu/etd_projects Part of the Artificial Intelligence and Robotics Commons, and the Information Security Commons Recommended Citation Krishna, Nivedhitha Ramarathnam, "Classifying Classic Ciphers using Machine Learning" (2019). Master's Projects. 699. DOI: https://doi.org/10.31979/etd.xkgs-5gy6 https://scholarworks.sjsu.edu/etd_projects/699 This Master's Project is brought to you for free and open access by the Master's Theses and Graduate Research at SJSU ScholarWorks. It has been accepted for inclusion in Master's Projects by an authorized administrator of SJSU ScholarWorks. For more information, please contact [email protected]. Classifying Classic Ciphers using Machine Learning A Project Presented to The Faculty of the Department of Computer Science San José State University In Partial Fulfillment of the Requirements for the Degree Master of Science by Nivedhitha Ramarathnam Krishna May 2019 © 2019 Nivedhitha Ramarathnam Krishna ALL RIGHTS RESERVED The Designated Project Committee Approves the Project Titled Classifying Classic Ciphers using Machine Learning by Nivedhitha Ramarathnam Krishna APPROVED FOR THE DEPARTMENT OF COMPUTER SCIENCE SAN JOSÉ STATE UNIVERSITY May 2019 Dr. Mark Stamp Department of Computer Science Dr. Thomas Austin Department of Computer Science Professor Fabio Di Troia Department of Computer Science ABSTRACT Classifying Classic Ciphers using Machine Learning by Nivedhitha Ramarathnam Krishna We consider the problem of identifying the classic cipher that was used to generate a given ciphertext message.
    [Show full text]
  • Provable Security Evaluation of Structures Against Impossible Differential and Zero Correlation Linear Cryptanalysis ⋆
    Provable Security Evaluation of Structures against Impossible Differential and Zero Correlation Linear Cryptanalysis ⋆ Bing Sun1,2,4, Meicheng Liu2,3, Jian Guo2, Vincent Rijmen5, Ruilin Li6 1 College of Science, National University of Defense Technology, Changsha, Hunan, P.R.China, 410073 2 Nanyang Technological University, Singapore 3 State Key Laboratory of Information Security, Institute of Information Engineering, Chinese Academy of Sciences, Beijing, P.R. China, 100093 4 State Key Laboratory of Cryptology, P.O. Box 5159, Beijing, P.R. China, 100878 5 Dept. Electrical Engineering (ESAT), KU Leuven and iMinds, Belgium 6 College of Electronic Science and Engineering, National University of Defense Technology, Changsha, Hunan, P.R.China, 410073 happy [email protected] [email protected] [email protected] [email protected] [email protected] Abstract. Impossible differential and zero correlation linear cryptanal- ysis are two of the most important cryptanalytic vectors. To character- ize the impossible differentials and zero correlation linear hulls which are independent of the choices of the non-linear components, Sun et al. proposed the structure deduced by a block cipher at CRYPTO 2015. Based on that, we concentrate in this paper on the security of the SPN structure and Feistel structure with SP-type round functions. Firstly, we prove that for an SPN structure, if α1 → β1 and α2 → β2 are possi- ble differentials, α1|α2 → β1|β2 is also a possible differential, i.e., the OR “|” operation preserves differentials. Secondly, we show that for an SPN structure, there exists an r-round impossible differential if and on- ly if there exists an r-round impossible differential α → β where the Hamming weights of both α and β are 1.
    [Show full text]
  • Theory and Practice of Cryptography: Lecture 1
    Theory and Practice of Cryptography From Classical to Modern About this Course All course materials: http://saweis.net/crypto.shtml Four Lectures: 1. History and foundations of modern cryptography. 2. Using cryptography in practice and at Google. 3. Theory of cryptography: proofs and definitions. 4. A special topic in cryptography. Classic Definition of Cryptography Kryptósgráfo , or the art of "hidden writing", classically meant hiding the contents or existence of messages from an adversary. Informally, encryption renders the contents of a message unintelligible to anyone not possessing some secret information. Steganography, or "covered writing", is concerned with hiding the existence of a message -- often in plain sight. Scytale Transposition Cipher Caesar Substitution Cipher Zodiac Cipher Vigenère Polyalphabetic Substitution Key: GOOGLE Plaintext: BUYYOUTUBE Ciphertext: HIMEZYZIPK Rotor-based Polyalphabetic Ciphers Steganography He rodotus tattoo and wax tablets Inv is ible ink Mic rodots "Th e Finger" Priso n gang codes Low-order bits Codes Codes replace a specific piece of plaintext with a predefined code word. Codes are essentially a substitution cipher, but can replace strings of symbols rather than just individual symbols. Examples: "One if by land, two if by sea." Beale code Numbers stations ECB Mode Kerckhoffs' Principle A cryptosystem should be secure even if everything about it is public knowledge except the secret key. Do not rely on "security through obscurity". One-Time Pads Generate a random key of equal length to your message, then exclusive-or (XOR) the key with your message. This is information theoretically secure...but: "To transmit a large secret message, first transmit a large secret message" One time means one time.
    [Show full text]
  • An Upper Bound of the Longest Impossible Differentials of Several Block Ciphers
    KSII TRANSACTIONS ON INTERNET AND INFORMATION SYSTEMS VOL. 13, NO. 1, Jan. 2019 435 Copyright ⓒ 2019 KSII An Upper Bound of the Longest Impossible Differentials of Several Block Ciphers Guoyong Han1,2, Wenying Zhang1,* and Hongluan Zhao3 1 School of Information Science and Engineering, Shandong Normal University, Jinan, China [e-mail: [email protected]] 2 School of Management Engineering, Shandong Jianzhu University, Jinan, China [e-mail: [email protected]] 3 School of Computer Science and Technology, Shandong Jianzhu University, Jinan, China *Corresponding author: Wenying Zhang Received January 29, 2018; revised June 6, 2018; accepted September 12, 2018; published January 31, 2019 Abstract Impossible differential cryptanalysis is an essential cryptanalytic technique and its key point is whether there is an impossible differential path. The main factor of influencing impossible differential cryptanalysis is the length of the rounds of the impossible differential trail because the attack will be more close to the real encryption algorithm with the number becoming longer. We provide the upper bound of the longest impossible differential trails of several important block ciphers. We first analyse the national standard of the Russian Federation in 2015, Kuznyechik, which utilizes the 16-byte LFSR to achieve the linear transformation. We conclude that there is no any 3-round impossible differential trail of the Kuznyechik without the consideration of the specific S-boxes. Then we ascertain the longest impossible differential paths of several other important block ciphers by using the matrix method which can be extended to many other block ciphers. As a result, we show that, unless considering the details of the S-boxes, there is no any more than or equal to 5-round, 7-round and 9-round impossible differential paths for KLEIN, Midori64 and MIBS respectively.
    [Show full text]
  • Chapter 6: the Great Sphinx - Symbol for Christ
    Chapter 6: The Great Sphinx - Symbol For Christ “‘And behold, I am coming quickly, and My reward is with Me, to give to every one according to his work. I am the Alpha and the Omega, the Beginning and the End, the First and the Last.’ Blessed are those who do His commandments, that they may have the right to the tree of life…” - Rev. 22:12-14 The opening Scripture for this chapter makes it very clear that Yahshua has always existed, and that all matter, time, and space began - and will end - with Him. As shown in previous chapters, Yahshua is stating that He is the Alpha and Omega to tell us that He embodies every letter in the alphabet, and every word in our vocabularies. This is a direct analogy of His status as the true, and only Word of God. His appellation as the Alpha and Omega also suggests that Yahshua will ultimately have the first and last word in all disputes. Though this is first made clear in the Book of Isaiah - in connection with Christ in His role as Yahweh, the Creator (Isaiah 44:6; 48:12) - Yahshua applies it to Himself without any ambiguity in the Book of Revelation. By calling Himself “the Beginning and the End,” and “the First and the Last,” Yahshua was implying that He is the beginning and end of the Zodiac, of the Universe, and of time itself. But how, you may wonder, does this relate to the Great Sphinx, which is the subject of this chapter? In the other books in the Language of God Book Series, it was shown that the Great Sphinx may mark both the beginning and end of the Zodiac, and the beginning and end of time.
    [Show full text]
  • Encryption Block Cipher
    10/29/2007 Encryption Encryption Block Cipher Dr.Talal Alkharobi 2 Block Cipher A symmetric key cipher which operates on fixed-length groups of bits, termed blocks, with an unvarying transformation. When encrypting, a block cipher take n-bit block of plaintext as input, and output a corresponding n-bit block of ciphertext. The exact transformation is controlled using a secret key. Decryption is similar: the decryption algorithm takes n-bit block of ciphertext together with the secret key, and yields the original n-bit block of plaintext. Mode of operation is used to encrypt messages longer than the block size. 1 Dr.Talal Alkharobi 10/29/2007 Encryption 3 Encryption 4 Decryption 2 Dr.Talal Alkharobi 10/29/2007 Encryption 5 Block Cipher Consists of two algorithms, encryption, E, and decryption, D. Both require two inputs: n-bits block of data and key of size k bits, The output is an n-bit block. Decryption is the inverse function of encryption: D(E(B,K),K) = B For each key K, E is a permutation over the set of input blocks. n Each key K selects one permutation from the possible set of 2 !. 6 Block Cipher The block size, n, is typically 64 or 128 bits, although some ciphers have a variable block size. 64 bits was the most common length until the mid-1990s, when new designs began to switch to 128-bit. Padding scheme is used to allow plaintexts of arbitrary lengths to be encrypted. Typical key sizes (k) include 40, 56, 64, 80, 128, 192 and 256 bits.
    [Show full text]
  • Solving Historical Dictionary Codes with a Neural Language Model
    Solving Historical Dictionary Codes with a Neural Language Model Christopher Chu, Raphael Valenti, and Kevin Knight DiDi Labs 4640 Admiralty Way Marina del Rey, CA 90292 fchrischu,[email protected] Abstract Table-based key Book-based key Cipher Caesar cipher Beale cipher We solve difficult word-based substitution (character) Simple substitution codes by constructing a decoding lattice and Zodiac 408 searching that lattice with a neural language Copiale cipher Code Rossignols’ Mexico-Nauen code model. We apply our method to a set (word) Grand Chiffre Scovell code of enciphered letters exchanged between US Wilkinson code Army General James Wilkinson and agents (this work) of the Spanish Crown in the late 1700s and early 1800s, obtained from the US Library of Figure 1: Simplified typology of substitution-based Congress. We are able to decipher 75.1% of cryptosystems, with some examples. Ciphers involve the cipher-word tokens correctly. character-level substitutions (e.g, f ! q), while codes involve word-level substitutions (e.g., forest ! 5731). 1 Introduction Cryptography has been used since antiquity to en- 2 Related Work code important secrets. There are many unsolved ciphers of historical interest, residing in national Figure1 gives a simplified typology of classical, libraries, private archives, and recent corpora col- substitution-based cryptosystems.1 lection projects (Megyesi et al., 2019; Pettersson Table-based Ciphers involve character-based and Megyesi, 2019). Solving classical ciphers substitutions. The substitution may take the form with automatic methods is a needed step in ana- of a simple offset, as in the Caesar substitution sys- lyzing these materials. tem, e.g., (a ! d), (b ! e), (c ! f), etc.
    [Show full text]
  • Understanding How to Prevent Sensitive Data Exposure
    Understanding how to prevent Sensitive Data Exposure Dr Simon Greatrix Just Trust The Internet! • Lots of free advice • Opinions to suit all tastes • Also has pictures of cats! • Not responsible for the collapse of civilization (so far) • Google has excellent branding Top tips for a successful presentation! (according to the internet) • Start with a joke • Imagine the audience naked • Avoid showing emotion • Use images to jazz things up Obligatory famous historical data breaches ● 200,000 BCE to 6000 BCE : Tribal life with no privacy at all ● 600 BCE to 400CE: Ancient City culture view privacy as a bad thing ● 75 CE to 800 CE: There is no word for “privacy” in classical nor medieval“Where Latin people conceal their ways from one another … ● 1215 CE:there Fourth no Council one will Of ever Lateran rightly makes gain neitherconfession their mandatory due honour nor office nor the justice that is befitting” ● 1450 CE: First use of “privacy” in English. Socrates (470 to 399 BCE) ● 1700 CE: Solo beds ● 1890 CE: First use of “Right To Privacy” What are we actually expected to do? ● The Standards – OWASP – PCI-DSS ● The Tools – Ciphers – Hashes An aside: What is “strong encryption”? Source: https://www.keylength.com Is this really a good idea? https://xkcd.com/538/ Your Personal Information Please don’t send us your personal information. We do not want your personal information. We have a hard enough time keeping track of our own personal information, let alone yours. If you tell us your name, or any identifying information, we will forget it immediately.
    [Show full text]
  • Giza Planetary Alignment
    GIZA PLANETARY ALIGNMENT MYSTERIES OF THE PYRAMID CLOCK ANNOUNCING A NEW TIME The purpose of this illustration is to address some misconceptions about the Dec 3, 2012 Planetary Alignment of Mercury, Venus and Saturn. The error is that the planets are alleged to be in direct line with the Giza Pyramids and visible after sunset as one would look toward the west from the Pyramid complex. A picture of the Planets above the Giza Pyramid complex in Egypt has been online for a while but it is not exactly what will occur. This study will examine if such a scenario is possible altogether. Since the Pyramids are at the center piece of this planetary alignment, some investigations associated with the Pyramids will be looked at to further appreciate the complexity of such magnificent structures. It does appear that the planetary alignment of Mercury, Venus and Saturn, by themselves will have on Dec 3, 2012, the same degree of angle as the Giza Pyramid complex. Thus it will also mirror the degree of angel to that of Orion’s Belt –which the Pyramids are designed after. A timeline will show various day count or number pattern associated with prior astronomical events. (7 cycles of 7 Day intervals) NOV 6 NOV 13/14 NOV 19 NOV 21 NOV 28/29 DEC 3 DEC 7/8 DEC 21 DEC 31/1 Gaza-Israel = 49 Days, JAN 1 = 50th OCT 29/30 USA Elections Total Solar Eclipse Solar Flare Partial Lunar Eclipse Alignment Hanukah Winter Solstice USA ‘Fiscal Cliff’ Obama Reelected Cease Fire from Solar Eclipse Hurricane Sandy midst of Eclipses Operation Pillar of Cloud 7 D A Y S 7 D A Y S 7 D A Y S 7 D A Y S 7 D A Y S 7 Day Conflict 7 Days to Lunar Eclipse 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 2 3 N O V E M B E R D E C E M B E R 9 D A Y S 9 D A Y S 9 D A Y S 7 D A Y S 7 D A Y S 7 D A Y S 9 D A Y S ‘9-9-9’ After the 7779 pattern, a 999 or 666 follows up to Christmas.
    [Show full text]
  • From Giza to the Pantheon: Astronomy As a Key to the Architectural Projects of the Ancient Past
    The Role of Astronomy in Society and Culture Proceedings IAU Symposium No. 260, 2009 c International Astronomical Union 2011 D. Valls-Gabaud & A. Boksenberg, eds. doi:10.1017/S1743921311002389 From Giza to the Pantheon: astronomy as a key to the architectural projects of the ancient past Giulio Magli Faculty of Civil Architecture, Politecnico di Milano Piazza Leonardo da Vinci 32, 20133 Milano, Italy email: [email protected] Abstract. In many of the “wonders” of our past, information about their meaning and scope has been encoded in the form of astronomical alignments to celestial bodies. Therefore, in many cases, understanding the ideas of the ancient architects turns out to be connected with the study of the relationship of their cultures with the sky. This is the aim of archaeoastronomy, a discipline which is a quite efficacious tool in unraveling the original projects of many monuments. This issue is briefly discussed here by means of three examples taken from three completely different cultures and historical periods: the so-called “air shafts” of the Great Pyramid, the urban layout of the capital of the Incas, and the design of the Pantheon. Keywords. Archaeoastronomy, Egypt, pyramids, Inca architecture, Cusco, Pantheon 1. Introduction Most of the “wonders” of our ancient past have passed on to us without being accompa- nied by written information about their scope, meaning and project. This is obviously the case for monuments whose builders did not –as far as we know– have written language, such as the megalithic temples of Malta or the Inca citadel of Machu Picchu. However, this is also the case of many magnificent monuments which were built –for instance– by the Egyptians and the Romans.
    [Show full text]
  • ADVANCES in CYBER-PHYSICAL SYSTEMS Vol
    ADVANCES IN CYBER-PHYSICAL SYSTEMS Vol. 6, Num. 1, 2021 USING IMPROVED HOMOPHONIC ENCRYPTION ON THE EXAMPLE OF CODE ZODIAC Z408 TO TRANSFER ENCRYPTED INFORMATION BASED ON DATA TRAFFIC Oleksandr Mamro, Andrii Lagun Lviv Polytechnic National University, 12, Bandera Str, Lviv, 79013, Ukraine Authors’ e-mail: [email protected], [email protected] Submitted on 03.03.2021 © Mamro O., Lagun A, 2021 Abstract: This article examines the improvement of homophonic encryption using the well-known Z408 cipher as II. OBJECT, PURPOSE AND TASKS OF THE an example, and analyzes their problems to further correct the RESEARCH main shortcomings of this typea of encryption. In the practical part, an encryption system similar to Z408 was created and the One of the most difficult issues in the operation of complexity of the language analysis for this cipher was homophonic encryption is the degree of protection of increased. The correlation dat of the number of alternative homophonic encryption from speech analysis, or rather the characters was used to improve the transmission of encrypted quality of masking the frequencies of occurrence of certain data depending on the load of the device. The more symbols letters in the text. therefore, the possibility of reducing the and the higher the load, the fewer the number of alternative repetition rates of text characters, and the corresponding symbols will be used. complication of protection against cryptocurrencies of frequency analysis should be considered. Index Terms: Zodiac, Z408, encryption, homophonic encryption, quenching, cyber-physical systems. Even though it was originally a crib which helped to crack it, Z408 has other weaknesses, most notably the way I.
    [Show full text]
  • Zodiac Killer Appears to Have Begun on the Night of Friday, December 20, 1968
    © Copyright, Princeton University Press. No part of this book may be distributed, posted, or reproduced in any form by digital or mechanical means without prior written permission of the publisher. 4 Zodiac A First Date The story of the Zodiac Killer appears to have begun on the night of Friday, December 20, 1968. Betty Lou Jensen, just sixteen years old, headed out for her first date. She was with David Arthur Faraday, a seventeen-year-old, who was a top student and a varsity wrestler. They ended up parked just off Lake Herman Road, a lovers’ lane in Vallejo, California. fig. 4.1 Betty Lou Jensen fig. 4.2 David Arthur Faraday © Bettmann / Getty Images © Bettmann / Getty Images Sometime between 11:10 and 11:15 p.m., they were attacked. The killer put his gun to the boy’s head and pulled the trigger, killing him while he was still in the car. Betty exited the vehicle, but the killer shot her in the back five times as she tried to run away. Both teens died. Police later found ten expended .22 casings. For general queries, contact [email protected] 259278XMK_UNSOLVED_CC2014.indd 155 15/03/2017 09:07:53 © Copyright, Princeton University Press. No part of this book may be distributed, posted, or reproduced in any form by digital or mechanical means without prior written permission of the publisher. 1 5 6 chapter 4 Another Attack Minutes after midnight, as July 4, 1969, turned into July 5, the crimes contin- ued with an attack on a man and woman at another lovers’ lane in Vallejo— Blue Rock Springs Golf Course.
    [Show full text]