Join Jonni Bidwellon a Journey of Code Making and Breaking, Mystery and Intrigue…

Total Page:16

File Type:pdf, Size:1020Kb

Join Jonni Bidwellon a Journey of Code Making and Breaking, Mystery and Intrigue… Chrptopgyray Caphptogryry old and new Join Jonni Bidwell on a journey of code making and breaking, mystery and intrigue… or as long as there have been so that lovers can “conceal the details of their ROT13 and Atbash are essentially single-key stories there have been secrets liaisons”. An even older substitution system is systems. The Kama Sutra cipher has a fairly – words unspoken for tactical Atbash, originally found in old (circa 500 BC) large keyspace – there are about 8 trillion (8 F advantage or for fear of reprisal. Hebrew texts. Here the first letter of the followed by 12 zeroes) unique ways of pairing Secrets often need to be sent afar, and alphabet, aleph, is replaced by the last, tav; the the alphabet. The general MSC has an their remaining secret en route is of second, beth, by the second to last, shin, and astounding number of possible combinations paramount importance. So it was when so on, effectively reversing the alphabet. The (26 factorial – about 4 followed by 26 zeroes Xerxes’ attack on Sparta was thwarted by latinic equivalent is interchanging A and Z, B – or a little more than 88-bits in modern binary Demaratus (a Greek exile living in Persia, and Y, and so forth. The ROT13 system (a terms), but size isn’t everything... The Arab whose warning message was sent to Sparta Caesar cipher with a shift of 13) is still used on polymath Al-Kindi, in a ninth-century hidden on an apparently blank wax tablet). some websites and newsgroups to obfuscate manuscript titled On Deciphering And so it is when you send your credit card plot spoilers, punchlines or naughty words. Cryptographic Messages, gave the first details across the ether to pay for gadgets, These monoalphabetic substitution ciphers description of breaking MSCs by frequency snacks or socks. (MSCs) are not in any way cryptographically analysis – exploiting the fact that in an Most people will likely be ‘average’ message, some familiar with a substitution letters will occur more cipher, in which one letter is “ The Kama Sutra describes, frequently than others. replaced by another. The best- among other more interesting For example, in English the known of these is the Caesar letter ‘e’ occurs with a relative cipher, in which each letter is tricks, the art of secret writing. ” frequency of about 13%, replaced by one a fixed distance followed by ‘t’ with 9%, and so further down the alphabet, wrapping around secure by today’s standards, but in their time on. This is why Scrabble scoring is the way it when one runs out of letters. It is said that they were likely effective enough – the highway is – the more common the letter, the less it Julius Caesar used this method, replacing A bandits of Caesar’s time being likely illiterate, scores. Other languages have different letters with D, B with E, and so on, wrapping around unlike the masterful wordsmiths of the and frequencies, but the principle remains the with A replacing X, whereas his nephew modern internet. These ciphers do contain a same: replace the most frequently occurring Augustus favoured a shift of just one letter, in germ of the idea of the modern cryptographic letter in the ciphertext with the most which A is replaced by B, B by C etc, but with key, though. Whether it’s the length of the shift frequently occurring letter in the language, no wraparound, so that Z is replaced by the in a Caesar cipher, the dimensions of the then repeat for the next most frequent letter, symbol AA. Scytale, or the pairings used in the Kama Sutra and continue until you are able to fill in the The Kama Sutra also describes, among (no, not those pairings), knowledge of the blanks. The original message might not have other rather more interesting tricks, the art of method of encryption, together with the key, exactly the same letter frequencies as the mlecchita-vikalpa (secret writing). It details a allows one to decipher the message. language, but provided it’s long enough it will substitution cipher in which letters are paired We have 26 possible keys (including the at least be close enough that decryption will and interchanged by a fixed random scheme, trivial zero-shift) for a Caesar cipher, whereas be possible with a little tweaking. 50 LXF189 October 2014 www.linuxformat.com LXF189.feat_crypto.indd 50 15/08/2014 17:35 Chrptopgyray Caphptogryry Don’t panic, Colonel This triptych shows another WWI example: a bigram, so that our message ‘kernel panic’ have been used, and both keys would be the ADFGX cipher (these letters were chosen encodes to XF GA DA GF GA AG DX GD GF FD changed according to a daily code book. We because they’re different in Morse code). The FA (the space is ignored). In the second plate, rearrange the columns by putting the second first plate is the fractionating key: it encodes we fit this message onto a grid below a second key in alphabetical order, and then read off the each letter of our alphabet (sans the letter z keyword, ‘LINUS’, which is our transposition key. ciphertext column-wise. Thus our encoded because the LXF style guide doesn’t like it) into In practice, a longer transposition key would message is FGGGA XAADF GFDF DAGD AGXF. The discovery of the 1586 Babington Plot Later, this cipher was augmented with failed to receive this, necessitating that (which sought to assassinate Queen Elizabeth the letter V to make the imaginatively-titled messages be retransmitted using old keys. I) led to Mary Queen of Scots and her ADFGVX cipher. In 1918, in a phenomenal tour- This exchange was sometimes intercepted, co-conspirators being executed after their de-force, the French cryptanalyst Georges providing clues as to the new key. During correspondence was decrypted by renowned Painvin managed to decrypt an ADFGVX- World War I, the decrypting of the Zimmerman codebreaker Thomas Phelippes. Letters encrypted message which revealed where the telegram (which invited Mexico to ally with between Mary and Babington had been German forces were planning to attack Paris. Germany) was instrumental to American encrypted by substitution using symbols Painvin lost 15kg of body weight over the involvement in the war. mostly from the Greek alphabet, and course of this crypto-toil. By World War II the Germans had Phelippes was able to forge an addendum to One may wonder if anyone can make a upgraded the Enigma series of machines to one of Mary’s letters requesting the identities truly unbreakable cipher, and one may be present a sufficient cryptographic challenge to of the co-conspirators. Once they were thus shocked to learn that such a thing already Bletchley Park. Polish researches had broken incriminated, heads were off’d. exists. That it has been patented since 1917 the original design as early as 1932, and just A milestone in the history of cryptography may leave one so utterly aghast as to impinge prior to the outbreak of war they shared their was the invention of the so-called Vigenère permanently on one’s health, but this is fact intelligence with the British. Alan Turing cipher in 1553. This was actually the work nonetheless. The chap responsible (for the designed the Bombe machine, which by 1940 of cryptologist Giovan Battista Bellaso, who patent at least) was Gilbert Vernam, and his was doing a fine job of breaking Jerry comms. built on the ideas of Trithemius and Alberti. invention is known as the One Time Pad. The The Enigma machine, despite having a Vigenère did in fact publish a stronger trick is to ensure that there is as much key huge number of rotor, plugboard and stecker autokeying cipher in 1586, but history has material as there is plaintext, that the key settings, had a weakness in that a letter was misattributed this earlier cipher to him. The material is entirely random and perfectly never encrypted to itself. This vastly reduced cipher is a polyalphabetic substitution cipher secret, and no part of the key material is the amount of work that the Bombe and the which uses a keyword to switch cipher used more than once. In practical terms, computers (usually women with a good eye alphabets after each letter. Each letter is though, Vernam’s system is largely useless. for detail and skill at crossword puzzles) had encrypted by a Caesar cipher with shift Generating truly random material is difficult, to do. After a letter was typed on the Enigma, determined by the corresponding letter of the as is distributing a huge amount of it in secret the cipher alphabet was changed by the rotor keyword. This (providing the keyword has and ensuring its destruction post-use. mechanism, in a manner not dissimilar from more than one unique letter) thwarts the Vigenère cipher. There were other layers traditional frequency analysis. The cipher was Enigmatic mathematics of encryption too, but a lot of these were considered so strong that it was dubbed le Wartime cryptography relied heavily on constant settings made redundant when chiffre indéchiffrable, and indecipherable it codebooks which contained daily keys, and Enigma machines were captured. By the end remained until work by Babbage and Kasiski these had a bad habit of falling into enemy of the war there were around 200 Bombes in the mid-19th century. Their efforts centred hands. Once such a breach occurred and in use throughout England. The Americans, on isolating the length of the key: once that is news of it reached HQ, generals were faced being in a much better position for obtaining known then the ciphertext can be separated with the tremendous logistical problem of supplies, were able to build and design 125 into as many chunks; each chunk will be alerting relevant personnel as to the breach much faster Bombes, and the Allies were able encrypted by a different Caesar shift, which and then manufacturing and distributing new to farm out work to these remote behemoths is easily dealt to by frequency analysis.
Recommended publications
  • COS433/Math 473: Cryptography Mark Zhandry Princeton University Spring 2017 Cryptography Is Everywhere a Long & Rich History
    COS433/Math 473: Cryptography Mark Zhandry Princeton University Spring 2017 Cryptography Is Everywhere A Long & Rich History Examples: • ~50 B.C. – Caesar Cipher • 1587 – Babington Plot • WWI – Zimmermann Telegram • WWII – Enigma • 1976/77 – Public Key Cryptography • 1990’s – Widespread adoption on the Internet Increasingly Important COS 433 Practice Theory Inherent to the study of crypto • Working knowledge of fundamentals is crucial • Cannot discern security by experimentation • Proofs, reductions, probability are necessary COS 433 What you should expect to learn: • Foundations and principles of modern cryptography • Core building blocks • Applications Bonus: • Debunking some Hollywood crypto • Better understanding of crypto news COS 433 What you will not learn: • Hacking • Crypto implementations • How to design secure systems • Viruses, worms, buffer overflows, etc Administrivia Course Information Instructor: Mark Zhandry (mzhandry@p) TA: Fermi Ma (fermima1@g) Lectures: MW 1:30-2:50pm Webpage: cs.princeton.edu/~mzhandry/2017-Spring-COS433/ Office Hours: please fill out Doodle poll Piazza piaZZa.com/princeton/spring2017/cos433mat473_s2017 Main channel of communication • Course announcements • Discuss homework problems with other students • Find study groups • Ask content questions to instructors, other students Prerequisites • Ability to read and write mathematical proofs • Familiarity with algorithms, analyZing running time, proving correctness, O notation • Basic probability (random variables, expectation) Helpful: • Familiarity with NP-Completeness, reductions • Basic number theory (modular arithmetic, etc) Reading No required text Computer Science/Mathematics Chapman & Hall/CRC If you want a text to follow along with: Second CRYPTOGRAPHY AND NETWORK SECURITY Cryptography is ubiquitous and plays a key role in ensuring data secrecy and Edition integrity as well as in securing computer systems more broadly.
    [Show full text]
  • Simple Substitution and Caesar Ciphers
    Spring 2015 Chris Christensen MAT/CSC 483 Simple Substitution Ciphers The art of writing secret messages – intelligible to those who are in possession of the key and unintelligible to all others – has been studied for centuries. The usefulness of such messages, especially in time of war, is obvious; on the other hand, their solution may be a matter of great importance to those from whom the key is concealed. But the romance connected with the subject, the not uncommon desire to discover a secret, and the implied challenge to the ingenuity of all from who it is hidden have attracted to the subject the attention of many to whom its utility is a matter of indifference. Abraham Sinkov In Mathematical Recreations & Essays By W.W. Rouse Ball and H.S.M. Coxeter, c. 1938 We begin our study of cryptology from the romantic point of view – the point of view of someone who has the “not uncommon desire to discover a secret” and someone who takes up the “implied challenged to the ingenuity” that is tossed down by secret writing. We begin with one of the most common classical ciphers: simple substitution. A simple substitution cipher is a method of concealment that replaces each letter of a plaintext message with another letter. Here is the key to a simple substitution cipher: Plaintext letters: abcdefghijklmnopqrstuvwxyz Ciphertext letters: EKMFLGDQVZNTOWYHXUSPAIBRCJ The key gives the correspondence between a plaintext letter and its replacement ciphertext letter. (It is traditional to use small letters for plaintext and capital letters, or small capital letters, for ciphertext. We will not use small capital letters for ciphertext so that plaintext and ciphertext letters will line up vertically.) Using this key, every plaintext letter a would be replaced by ciphertext E, every plaintext letter e by L, etc.
    [Show full text]
  • Cryptography in Modern World
    Cryptography in Modern World Julius O. Olwenyi, Aby Tino Thomas, Ayad Barsoum* St. Mary’s University, San Antonio, TX (USA) Emails: [email protected], [email protected], [email protected] Abstract — Cryptography and Encryption have been where a letter in plaintext is simply shifted 3 places down used for secure communication. In the modern world, the alphabet [4,5]. cryptography is a very important tool for protecting information in computer systems. With the invention ABCDEFGHIJKLMNOPQRSTUVWXYZ of the World Wide Web or Internet, computer systems are highly interconnected and accessible from DEFGHIJKLMNOPQRSTUVWXYZABC any part of the world. As more systems get interconnected, more threat actors try to gain access The ciphertext of the plaintext “CRYPTOGRAPHY” will to critical information stored on the network. It is the be “FUBSWRJUASLB” in a Caesar cipher. responsibility of data owners or organizations to keep More recent derivative of Caesar cipher is Rot13 this data securely and encryption is the main tool used which shifts 13 places down the alphabet instead of 3. to secure information. In this paper, we will focus on Rot13 was not all about data protection but it was used on different techniques and its modern application of online forums where members could share inappropriate cryptography. language or nasty jokes without necessarily being Keywords: Cryptography, Encryption, Decryption, Data offensive as it will take those interested in those “jokes’ security, Hybrid Encryption to shift characters 13 spaces to read the message and if not interested you do not need to go through the hassle of converting the cipher. I. INTRODUCTION In the 16th century, the French cryptographer Back in the days, cryptography was not all about Blaise de Vigenere [4,5], developed the first hiding messages or secret communication, but in ancient polyalphabetic substitution basically based on Caesar Egypt, where it began; it was carved into the walls of cipher, but more difficult to crack the cipher text.
    [Show full text]
  • Indian Hieroglyphs
    Indian hieroglyphs Indus script corpora, archaeo-metallurgy and Meluhha (Mleccha) Jules Bloch’s work on formation of the Marathi language (Bloch, Jules. 2008, Formation of the Marathi Language. (Reprint, Translation from French), New Delhi, Motilal Banarsidass. ISBN: 978-8120823228) has to be expanded further to provide for a study of evolution and formation of Indian languages in the Indian language union (sprachbund). The paper analyses the stages in the evolution of early writing systems which began with the evolution of counting in the ancient Near East. Providing an example from the Indian Hieroglyphs used in Indus Script as a writing system, a stage anterior to the stage of syllabic representation of sounds of a language, is identified. Unique geometric shapes required for tokens to categorize objects became too large to handle to abstract hundreds of categories of goods and metallurgical processes during the production of bronze-age goods. In such a situation, it became necessary to use glyphs which could distinctly identify, orthographically, specific descriptions of or cataloging of ores, alloys, and metallurgical processes. About 3500 BCE, Indus script as a writing system was developed to use hieroglyphs to represent the ‘spoken words’ identifying each of the goods and processes. A rebus method of representing similar sounding words of the lingua franca of the artisans was used in Indus script. This method is recognized and consistently applied for the lingua franca of the Indian sprachbund. That the ancient languages of India, constituted a sprachbund (or language union) is now recognized by many linguists. The sprachbund area is proximate to the area where most of the Indus script inscriptions were discovered, as documented in the corpora.
    [Show full text]
  • Amy Bell Abilene, TX December 2005
    Compositional Cryptology Thesis Presented to the Honors Committee of McMurry University In partial fulfillment of the requirements for Undergraduate Honors in Math By Amy Bell Abilene, TX December 2005 i ii Acknowledgements I could not have completed this thesis without all the support of my professors, family, and friends. Dr. McCoun especially deserves many thanks for helping me to develop the idea of compositional cryptology and for all the countless hours spent discussing new ideas and ways to expand my thesis. Because of his persistence and dedication, I was able to learn and go deeper into the subject matter than I ever expected. My committee members, Dr. Rittenhouse and Dr. Thornburg were also extremely helpful in giving me great advice for presenting my thesis. I also want to thank my family for always supporting me through everything. Without their love and encouragement I would never have been able to complete my thesis. Thanks also should go to my wonderful roommates who helped to keep me motivated during the final stressful months of my thesis. I especially want to thank my fiancé, Gian Falco, who has always believed in me and given me so much love and support throughout my college career. There are many more professors, coaches, and friends that I want to thank not only for encouraging me with my thesis, but also for helping me through all my pursuits at school. Thank you to all of my McMurry family! iii Preface The goal of this research was to gain a deeper understanding of some existing cryptosystems, to implement these cryptosystems in a computer programming language of my choice, and to discover whether the composition of cryptosystems leads to greater security.
    [Show full text]
  • A Cipher Based on the Random Sequence of Digits in Irrational Numbers
    https://doi.org/10.48009/1_iis_2016_14-25 Issues in Information Systems Volume 17, Issue I, pp. 14-25, 2016 A CIPHER BASED ON THE RANDOM SEQUENCE OF DIGITS IN IRRATIONAL NUMBERS J. L. González-Santander, [email protected], Universidad Católica de Valencia “san Vicente mártir” G. Martín González. [email protected], Universidad Católica de Valencia “san Vicente mártir” ABSTRACT An encryption method combining a transposition cipher with one-time pad cipher is proposed. The transposition cipher prevents the malleability of the messages and the randomness of one-time pad cipher is based on the normality of "almost" all irrational numbers. Further, authentication and perfect forward secrecy are implemented. This method is quite suitable for communication within groups of people who know one each other in advance, such as mobile chat groups. Keywords: One-time Pad Cipher, Transposition Ciphers, Chat Mobile Groups Privacy, Forward Secrecy INTRODUCTION In cryptography, a cipher is a procedure for encoding and decoding a message in such a way that only authorized parties can write and read information about the message. Generally speaking, there are two main different cipher methods, transposition, and substitution ciphers, both methods being known from Antiquity. For instance, Caesar cipher consists in substitute each letter of the plaintext some fixed number of positions further down the alphabet. The name of this cipher came from Julius Caesar because he used this method taking a shift of three to communicate to his generals (Suetonius, c. 69-122 AD). In ancient Sparta, the transposition cipher entailed the use of a simple device, the scytale (skytálē) to encrypt and decrypt messages (Plutarch, c.
    [Show full text]
  • Sarasvati Civilization, Script and Veda Culture Continuum of Tin-Bronze Revolution
    Sarasvati Civilization, script and Veda culture continuum of Tin-Bronze Revolution The monograph is presented in the following sections: Introduction including Abstract Section 1. Tantra yukti deciphers Indus Script Section 2. Momentous discovery of Soma samsthā yāga on Vedic River Sarasvati Basin Section 3. Binjor seal Section 4. Bhāratīya itihāsa, Indus Script hypertexts signify metalwork wealth-creation by Nāga-s in paṭṭaḍa ‘smithy’ = phaḍa फड ‘manufactory, company, guild, public office, keeper of all accounts, registers’ Section 5. Gaṇeśa pratimā, Gardez, Afghanistan is an Indus Script hypertext to signify Superintendent of phaḍa ‘metala manufactory’ Section 6. Note on the cobra hoods of Daimabad chariot Section 7 Note on Mohenjo-daro seal m0304: phaḍā ‘metals manufactory’ Section 8. Conclusion Introduction The locus of Veda culture and Sarasvati Civilization is framed by the Himalayan ranges and the Indian Ocean. 1 The Himalayan range stretches from Hanoi, Vietnam to Teheran, Iran and defines the Ancient Maritime Tin Route of the Indian Ocean – āsetu himācalam, ‘from the Setu to Himalayaś. Over several millennia, the Great Water Tower of frozen glacial waters nurtures over 3 billion people. The rnge is still growing, is dynamic because of plate tectonics of Indian plate juttng into and pushing up the Eurasian plate. This dynamic explains river migrations and consequent desiccation of the Vedic River Sarasvati in northwestern Bhāratam. Intermediation of the maritime tin trade through the Indian Ocean and waterways of Rivers Mekong, Irrawaddy, Salween, Ganga, Sarasvati, Sindhu, Persian Gulf, Tigris-Euphrates, the Mediterranean is done by ancient Meluhha (mleccha) artisans and traders, the Bhāratam Janam celebrated by R̥ ṣi Viśvāmitra in R̥ gveda (RV 3.53.12).
    [Show full text]
  • The Mathemathics of Secrets.Pdf
    THE MATHEMATICS OF SECRETS THE MATHEMATICS OF SECRETS CRYPTOGRAPHY FROM CAESAR CIPHERS TO DIGITAL ENCRYPTION JOSHUA HOLDEN PRINCETON UNIVERSITY PRESS PRINCETON AND OXFORD Copyright c 2017 by Princeton University Press Published by Princeton University Press, 41 William Street, Princeton, New Jersey 08540 In the United Kingdom: Princeton University Press, 6 Oxford Street, Woodstock, Oxfordshire OX20 1TR press.princeton.edu Jacket image courtesy of Shutterstock; design by Lorraine Betz Doneker All Rights Reserved Library of Congress Cataloging-in-Publication Data Names: Holden, Joshua, 1970– author. Title: The mathematics of secrets : cryptography from Caesar ciphers to digital encryption / Joshua Holden. Description: Princeton : Princeton University Press, [2017] | Includes bibliographical references and index. Identifiers: LCCN 2016014840 | ISBN 9780691141756 (hardcover : alk. paper) Subjects: LCSH: Cryptography—Mathematics. | Ciphers. | Computer security. Classification: LCC Z103 .H664 2017 | DDC 005.8/2—dc23 LC record available at https://lccn.loc.gov/2016014840 British Library Cataloging-in-Publication Data is available This book has been composed in Linux Libertine Printed on acid-free paper. ∞ Printed in the United States of America 13579108642 To Lana and Richard for their love and support CONTENTS Preface xi Acknowledgments xiii Introduction to Ciphers and Substitution 1 1.1 Alice and Bob and Carl and Julius: Terminology and Caesar Cipher 1 1.2 The Key to the Matter: Generalizing the Caesar Cipher 4 1.3 Multiplicative Ciphers 6
    [Show full text]
  • A Hybrid Cryptosystem Based on Vigenère Cipher and Columnar Transposition Cipher
    International Journal of Advanced Technology & Engineering Research (IJATER) www.ijater.com A HYBRID CRYPTOSYSTEM BASED ON VIGENÈRE CIPHER AND COLUMNAR TRANSPOSITION CIPHER Quist-Aphetsi Kester, MIEEE, Lecturer Faculty of Informatics, Ghana Technology University College, PMB 100 Accra North, Ghana Phone Contact +233 209822141 Email: [email protected] / [email protected] graphy that use the same cryptographic keys for both en- Abstract cryption of plaintext and decryption of cipher text. The keys may be identical or there may be a simple transformation to Privacy is one of the key issues addressed by information go between the two keys. The keys, in practice, represent a Security. Through cryptographic encryption methods, one shared secret between two or more parties that can be used can prevent a third party from understanding transmitted raw to maintain a private information link [5]. This requirement data over unsecured channel during signal transmission. The that both parties have access to the secret key is one of the cryptographic methods for enhancing the security of digital main drawbacks of symmetric key encryption, in compari- contents have gained high significance in the current era. son to public-key encryption. Typical examples symmetric Breach of security and misuse of confidential information algorithms are Advanced Encryption Standard (AES), Blow- that has been intercepted by unauthorized parties are key fish, Tripple Data Encryption Standard (3DES) and Serpent problems that information security tries to solve. [6]. This paper sets out to contribute to the general body of Asymmetric or Public key encryption on the other hand is an knowledge in the area of classical cryptography by develop- encryption method where a message encrypted with a reci- ing a new hybrid way of encryption of plaintext.
    [Show full text]
  • The Da Vinci Code
    The Da Vinci Code Dan Brown FOR BLYTHE... AGAIN. MORE THAN EVER. Acknowledgments First and foremost, to my friend and editor, Jason Kaufman, for working so hard on this project and for truly understanding what this book is all about. And to the incomparable Heide Lange—tireless champion of The Da Vinci Code, agent extraordinaire, and trusted friend. I cannot fully express my gratitude to the exceptional team at Doubleday, for their generosity, faith, and superb guidance. Thank you especially to Bill Thomas and Steve Rubin, who believed in this book from the start. My thanks also to the initial core of early in-house supporters, headed by Michael Palgon, Suzanne Herz, Janelle Moburg, Jackie Everly, and Adrienne Sparks, as well as to the talented people of Doubleday's sales force. For their generous assistance in the research of the book, I would like to acknowledge the Louvre Museum, the French Ministry of Culture, Project Gutenberg, Bibliothèque Nationale, the Gnostic Society Library, the Department of Paintings Study and Documentation Service at the Louvre, Catholic World News, Royal Observatory Greenwich, London Record Society, the Muniment Collection at Westminster Abbey, John Pike and the Federation of American Scientists, and the five members of Opus Dei (three active, two former) who recounted their stories, both positive and negative, regarding their experiences inside Opus Dei. My gratitude also to Water Street Bookstore for tracking down so many of my research books, my father Richard Brown—mathematics teacher and author—for his assistance with the Divine Proportion and the Fibonacci Sequence, Stan Planton, Sylvie Baudeloque, Peter McGuigan, Francis McInerney, Margie Wachtel, André Vernet, Ken Kelleher at Anchorball Web Media, Cara Sottak, Karyn Popham, Esther Sung, Miriam Abramowitz, William Tunstall-Pedoe, and Griffin Wooden Brown.
    [Show full text]
  • Ciphers: Making and Breaking Ralph Morelli Trinity College, Hartford ([email protected])
    Ciphers: Making and Breaking Ralph Morelli Trinity College, Hartford ([email protected]) Smithsonian Institute October 31, 2009 © 2009 Ralph Morelli You are free to reuse and remix this presentation under a creative commons license provided you give credit to the author. http://creativecommons.org/licenses/by/3.0/us/ This presentation was created using Open Office 3.0, free and open source software. http://www.openoffice.org/ Today's Themes • Crypto Cat vs. Mouse: Cryptographer vs. Cryptanalyst • Theoretical security vs. practical security • Implementation, implementation, implementation • The key is security. Part I: Classical Cryptology Basic Terminology Secret Writing Cryptography – making secret messages. Cryptanalysis – breaking secret messages. Cryptology – cryptography and cryptanalysis. Steganography – concealing messages. Cipher Cipher – a method for transforming a message. encipher meet me at six Cipher mmseeieaxtt plaintext ciphertext decipher Code Code – a system in which codewords replace plaintext words or symbols using a codebook. Codebook meet ... 149 me at at 15 146 15 652 six … … me 146 meet 149 … six 652 Types of Cipher Transposition hello Cipher ELOLH (rearrange) 23541 Substitution KHOOR hello Cipher (replace) Plaintext alphabet: a b c d e f g h i j k l m n o p q r s t u v w x y z Cipher alphabet: D E F G H I J K L M N O P Q R S T U V W X Y Z A B C Earliest Ciphers Herodotus (484-425 B.C.) Persian War (~480 BC), Demaratus' secret message to the Spartans was hidden under the wax on a wooden tablet (steganography).
    [Show full text]
  • Algorithms and Mechanisms Historical Ciphers
    Algorithms and Mechanisms Cryptography is nothing more than a mathematical framework for discussing the implications of various paranoid delusions — Don Alvarez Historical Ciphers Non-standard hieroglyphics, 1900BC Atbash cipher (Old Testament, reversed Hebrew alphabet, 600BC) Caesar cipher: letter = letter + 3 ‘fish’ ‘ilvk’ rot13: Add 13/swap alphabet halves •Usenet convention used to hide possibly offensive jokes •Applying it twice restores the original text Substitution Ciphers Simple substitution cipher: a=p,b=m,c=f,... •Break via letter frequency analysis Polyalphabetic substitution cipher 1. a = p, b = m, c = f, ... 2. a = l, b = t, c = a, ... 3. a = f, b = x, c = p, ... •Break by decomposing into individual alphabets, then solve as simple substitution One-time Pad (1917) Message s e c r e t 18 5 3 17 5 19 OTP +15 8 1 12 19 5 7 13 4 3 24 24 g m d c x x OTP is unbreakable provided •Pad is never reused (VENONA) •Unpredictable random numbers are used (physical sources, e.g. radioactive decay) One-time Pad (ctd) Used by •Russian spies •The Washington-Moscow “hot line” •CIA covert operations Many snake oil algorithms claim unbreakability by claiming to be a OTP •Pseudo-OTPs give pseudo-security Cipher machines attempted to create approximations to OTPs, first mechanically, then electronically Cipher Machines (~1920) 1. Basic component = wired rotor •Simple substitution 2. Step the rotor after each letter •Polyalphabetic substitution, period = 26 Cipher Machines (ctd) 3. Chain multiple rotors Each rotor steps the next one when a full
    [Show full text]