logging in or signing up EnigmaFinal Chloe Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINTLite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 70 Category: Entertainment License: All Rights Reserved Like it (0) Dislike it (0) Added: January 01, 2008 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript Enigma: Enigma Meghan Emilio Advisor: Professor Ralph Morelli April 2004Objective: Objective There are two main objectives of this project First, to create a working simulation of an Engima machine that is as faithful as possible. Second, to create a program which will “break” Engima. That is, decrypt messages even if little or no information about the original settings is known.What is Enigma?: What is Enigma? Electrical enciphering machine widely used by the German Military during WWII. Three rotating rotors. Breaking Enigma a turning point of the war.Rotors: Rotors First rotor rotates each time a character is input. The second rotor rotates once each time the first rotor makes one full turn. The third rotor rotates once each time the second rotor has rotated completely. Plug Board: Plug Board Swaps pairs of letters, automatically, both before and after each character passes through the rotors. Major difference between commercial and military Enigma.Putting It All Together: Putting It All Together Swap Swap Swap Swap Input Output SwapAccomplished: Accomplished Created an Enigma Simulation Input English/Encrypted text and output Encrypted text/English Java Applet Faithful to rotor wirings and reflectors used during WWIIAccomplished: Accomplished Created an Analyzer Input encrypted text and output original English text No other input information is needed Assumes possession of an Enigma machine Assumes text was encrypted without a plug board Searches through possible decryptions and choosing the best one Uses Index of Coincidence (IC) as a scoring function What is Index of Coincidence?: What is Index of Coincidence? Index of Coincidence (IC) is defined to be the probability that two randomly selected letters will be identical. It was introduced by William Friedman in The Index of Coincidence and its Applications in Cryptography (1920). IC is a statistical measure which distinguishes text encrypted with a polyalphabetic substitution cipher from text encrypted with a monoalphabetic substitution cipher. Calculating the IC: Calculating the IC The formula used to calculate IC: Σ(fi * (fi-1)) N(N-1) where 0 > i > 25, fi is the frequency in the sample of the ith letter of the alphabet, and N is the total number of letters in the sample Every language has such an IC, for example: English: 0.0667 German: 0.0762 Spanish: 0.0775 The IC for random text (even distribution of letters) is 0.0385 Why IC?: Why IC? Text encrypted by Enigma is polyalphabetic, so IC can distinguish easily between encrypted text and English. Allows for a heuristic algorithm Instead of searching all possible decryptions, take the first one that comes close to 0.0667 Effective on larger sample sizes (comparable to exhaustive search) More efficient (comparable to rotor setting)Problems with IC: Problems with IC The effectiveness of IC depends on the size of the sample:Results: ResultsFuture Work: Future Work Plug Board Simple Substitution Analyzer Improvements Distributed Computing Better Heuristic AlgorithmReferences: References History of the Enigma Machine. <http://www.ugrad.cs.jhu.edu/~russell/classes/enigma/history.html>. Cryptography -- Enigma Cipher. <http://www.trincoll.edu/depts/cpsc/cryptography/enigma.html>. The German Enigma Cipher Machine – History of Solving. <http://home.us.net/~encore/Enigma/text.html>. Hodges, Andrew. Alan Turing the Enigma. New York: Simon & Schuster, Inc., 1983. Carlson, Andy. Simulating the Engima. <http://homepages.tesco.net/~andycarlson/enigma/simulating_enigma.html>. Pictures © 1995, Morton Swimming, <http://www.swimmer.org/morton/enigma.html>.Questions?: Questions? You do not have the permission to view this presentation. In order to view it, please contact the author of the presentation.
EnigmaFinal Chloe Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINTLite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 70 Category: Entertainment License: All Rights Reserved Like it (0) Dislike it (0) Added: January 01, 2008 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript Enigma: Enigma Meghan Emilio Advisor: Professor Ralph Morelli April 2004Objective: Objective There are two main objectives of this project First, to create a working simulation of an Engima machine that is as faithful as possible. Second, to create a program which will “break” Engima. That is, decrypt messages even if little or no information about the original settings is known.What is Enigma?: What is Enigma? Electrical enciphering machine widely used by the German Military during WWII. Three rotating rotors. Breaking Enigma a turning point of the war.Rotors: Rotors First rotor rotates each time a character is input. The second rotor rotates once each time the first rotor makes one full turn. The third rotor rotates once each time the second rotor has rotated completely. Plug Board: Plug Board Swaps pairs of letters, automatically, both before and after each character passes through the rotors. Major difference between commercial and military Enigma.Putting It All Together: Putting It All Together Swap Swap Swap Swap Input Output SwapAccomplished: Accomplished Created an Enigma Simulation Input English/Encrypted text and output Encrypted text/English Java Applet Faithful to rotor wirings and reflectors used during WWIIAccomplished: Accomplished Created an Analyzer Input encrypted text and output original English text No other input information is needed Assumes possession of an Enigma machine Assumes text was encrypted without a plug board Searches through possible decryptions and choosing the best one Uses Index of Coincidence (IC) as a scoring function What is Index of Coincidence?: What is Index of Coincidence? Index of Coincidence (IC) is defined to be the probability that two randomly selected letters will be identical. It was introduced by William Friedman in The Index of Coincidence and its Applications in Cryptography (1920). IC is a statistical measure which distinguishes text encrypted with a polyalphabetic substitution cipher from text encrypted with a monoalphabetic substitution cipher. Calculating the IC: Calculating the IC The formula used to calculate IC: Σ(fi * (fi-1)) N(N-1) where 0 > i > 25, fi is the frequency in the sample of the ith letter of the alphabet, and N is the total number of letters in the sample Every language has such an IC, for example: English: 0.0667 German: 0.0762 Spanish: 0.0775 The IC for random text (even distribution of letters) is 0.0385 Why IC?: Why IC? Text encrypted by Enigma is polyalphabetic, so IC can distinguish easily between encrypted text and English. Allows for a heuristic algorithm Instead of searching all possible decryptions, take the first one that comes close to 0.0667 Effective on larger sample sizes (comparable to exhaustive search) More efficient (comparable to rotor setting)Problems with IC: Problems with IC The effectiveness of IC depends on the size of the sample:Results: ResultsFuture Work: Future Work Plug Board Simple Substitution Analyzer Improvements Distributed Computing Better Heuristic AlgorithmReferences: References History of the Enigma Machine. <http://www.ugrad.cs.jhu.edu/~russell/classes/enigma/history.html>. Cryptography -- Enigma Cipher. <http://www.trincoll.edu/depts/cpsc/cryptography/enigma.html>. The German Enigma Cipher Machine – History of Solving. <http://home.us.net/~encore/Enigma/text.html>. Hodges, Andrew. Alan Turing the Enigma. New York: Simon & Schuster, Inc., 1983. Carlson, Andy. Simulating the Engima. <http://homepages.tesco.net/~andycarlson/enigma/simulating_enigma.html>. Pictures © 1995, Morton Swimming, <http://www.swimmer.org/morton/enigma.html>.Questions?: Questions?