State Da Vinci Decathlon 2017 Code Breaking

Total Page:16

File Type:pdf, Size:1020Kb

State Da Vinci Decathlon 2017 Code Breaking Task developed by Dylan Sherman, University of Sydney, 2017 STATE DA VINCI DECATHLON 2017 CELEBRATING THE ACADEMIC GIFTS OF STUDENTS IN YEARS 9 - 11 CODE BREAKING TEAM NUMBER _____________ Q1 Q2 Q3 Total /26 /16 /24 /66 1 Task developed by Dylan Sherman, University of Sydney, 2017 QUESTION 1: QR CODING (26 MARKS) QR codes are one of the most powerful images we can currently make with ease. Contained within the black and white squares, that represent 1 or 0 respectively, is information that has been coded so computers can easily read and interpret the data. Unlike barcodes, which only operate linearly, these codes can compress many more times the amount of data. Today you will be deciphering the following QR code: Pages 3-5 contain detailed explanations and diagrams that will help you decipher the QR code. Answer the questions on these pages before decoding the QR code and writing your final answer in the box provided on page 6. Note that the answer is case sensitive and may not make any grammatical sense! Be wary that this question will take patience, care and time. Work methodically and make sure to include all working out on the spare pages below so marks can be awarded for your progress. 2 Task developed by Dylan Sherman, University of Sydney, 2017 Anatomy of a QR Code: Above is an image of the various sections of a QR code. The three large squares are called finder units, and allow a computer to align itself to the image. The purple bars are called timings and are to be ignored when working out the hidden code (that is imagine that row or column doesn’t even exist – it is not to be counted as a row or column when applying the mask pattern). Highlight these bars a particular colour on your QR code. The second line to the right of the bottom left box contains very important starting information. The first two small boxes of data at the bottom of the line (red above) indicate the ‘error correction level’. 3 Task developed by Dylan Sherman, University of Sydney, 2017 a) Using the diagram above, determine the error correction level for your QR code (L, M, Q or H). (2 marks) b) The next three boxes indicate the mask pattern used in the QR code. Whenever the masking pattern has a black box, the data corresponding to those black boxes in your QR code must be inverted. For example, if a box in your data was black (=1) but was in a position that was black on the masking pattern, it becomes white (=0). By drawing the mask pattern from your QR code below and matching it to the diagram on page 3, write the equation that represents your QR code’s masking pattern. (2 marks) c) The meaning of % is remainder. For example, 5 % 5 = 0 as 5/5 = 1 with no remainder (=0). Alternatively, 6 % 5 = 1 as 6/5 = 1 with 1 remainder. If we have an equation, such as y % 5 = 0 then we have a list of numbers for y that produce no remainder when divided by 5. The list of numbers indicates the rows, or columns (depending on the diagram on page 3), in your QR codes that must be inverted. Explain what the equation you identified in part (b) means and which rows/columns will be inverted for your QR code. Highlight these rows/columns that are to be inverted on your QR code (page 9 answer sheet). Hint: QR columns are numbered with 1, 2, 3 etc… counting from the bottom to top with column = 1. Rows are counted right to left, with the first row = 1. Also be wary of the timing row/column as mentioned on page 3! (6 marks) d) Now that you are aware of which data will be swapped before you decode it, we can commence our decoding. Page 5 displays a diagram that indicates the order you must read the binary data contained within the QR code. Note that the first Enc box indicates the Encoding type. For you, this is 0100 which is Binary to ASCII. Use the chart at the bottom of page 5 to convert the 8 bit binary you read from the QR code to numbers, symbols and letters. The Len box indicates how many characters, not including Len or Enc, your code has. Make sure you calculate this in the space provided on page 6 before attempting to follow the pattern and decode your QR code. After these two values, you follow the arrows and specific bit order to determine the value of each 8 bit code. Use page 6 for working and write your final case sensitive answer in the box at the bottom. (20 marks) 4 Task developed by Dylan Sherman, University of Sydney, 2017 5 Task developed by Dylan Sherman, University of Sydney, 2017 QUESTION 2: BAVURIAN EXTENSIONS (16 MARKS) Communicating through languages empowers individuals to work together. Conversely, secret languages can be used between individuals to deceive others and prevent collaboration. Bavurian is such a language. 12 words translated from English to Bavurian are provided below. In Bavurian, by adding particular endings, depending on a series of 4 rules, the meaning of word actually becomes ‘to the ____’. For example, while hitikp means Armchair, Hitikpken means to the armchair. By analysing the 12 words below, determine the 4 rules used to apply the correct endings and then convert the 8 words on the answer sheet to their ‘to the…’ form in Bavurian. (2 marks for each word) Hitikp Armchair: Hitikpken Jupkin lake: Jupkinkan Agnatsu Ladybug: Agnatsuven Ofuzmat Beach: Ofuzmatkan Toksu Pig: Toksuken Ikted Ball: Iktedven Mukrat Lion: Mukratkan Fasniep Aeroplane: Fasniepken Akrata Horse: Akratakan Aherug Mountain: Aherugkan Aketir Rocket: Aketirvan Ewnagta Cockroach: Ewnagtavan 6 Task developed by Dylan Sherman, University of Sydney, 2017 QUESTION 3: BAVURIAN CODES (24 MARKS) The Bavurians also enjoy coding in their language to ensure their messages are extra secure. Using the words above and the glossary below, decode the following coded messages to English that are encoded in Bavurian using various coding methods. English Bavurian English Bavurian the fe running speedro a la flew aero is tes chasing chasuro fancied greelip about kello or ro like litmi to top his marren was waren into sigent up see in ni singing lalif song lale at ta on nof sitting flop Note: Bavurians use the English alphabet! a) vu xywkjik jui vbef dej vu xyjyaf b) 7 Task developed by Dylan Sherman, University of Sydney, 2017 c) afddktjphlhjrxidqwjovtvsdi A = 1 1 1 Hint: 3 steps will be required (conversion to numbers, a rearrangement, then a conversion to letters again). The first word of the code is fe (the in English). d) uv nfpizgpzm dzivm xszhfil uv rpgvw zg gsv lufanzg mr glk oz rpfgvnzg 8 Task developed by Dylan Sherman, University of Sydney, 2017 CODE BREAKING ANSWER SHEET QUESTION 1 a b c d 9 Task developed by Dylan Sherman, University of Sydney, 2017 QUESTION 2 Bavurian ‘to the..’ English Bavurian form Cat higutsu Bed areta Towel ekari Cicada jiputsen Museum iktep Garden gaftir Bag jatnep Dog house ikutemat QUESTION 3 a b c d 10 Task developed by Dylan Sherman, University of Sydney, 2017 STATE DA VINCI DECATHLON 2017 CELEBRATING THE ACADEMIC GIFTS OF STUDENTS IN YEARS 9, 10 &11 CODE BREAKING SOLUTIONS TEAM NUMBER _____________ Q1 Q2 Q3 Total /26 /16 /24 /66 1 Task developed by Dylan Sherman, University of Sydney, 2017 QUESTION 1: QR CODING (26 MARKS) QR codes are one of the most powerful images we can currently make with ease. Contained within the black and white squares, that represent 1 or 0 respectively, is information that has been coded so computers can easily read and interpret the data. Unlike barcodes, which only operate linearly, these codes can compress many more times the amount of data. Today you will be deciphering the following QR code: Pages 3-5 contain detailed explanations and diagrams that will help you decipher the QR code. Answer the questions on these pages before decoding the QR code and writing your final answer in the box provided on page 6. Note that the answer is case sensitive and may not make any grammatical sense! Be wary that this question will take patience, care and time. Work methodically and make sure to include all working out on the spare pages below so marks can be awarded for your progress. 2 Task developed by Dylan Sherman, University of Sydney, 2017 Anatomy of a QR Code: Above is an image of the various sections of a QR code. The three large squares are called finder units, and allow a computer to align itself to the image. The purple bars are called timings and are to be ignored when working out the hidden code (that is imagine that row or column doesn’t even exist – it is not to be counted as a row or column when applying the mask pattern). Highlight these bars a particular colour on your QR code. The second line to the right of the bottom left box contains very important starting information. The first two small boxes of data at the bottom of the line (red above) indicate the ‘error correction level’. 3 Task developed by Dylan Sherman, University of Sydney, 2017 a) Using the diagram above, determine the error correction level for your QR code (L, M, Q or H). (2 marks) b) The next three boxes indicate the mask pattern used in the QR code. Whenever the masking pattern has a black box, the data corresponding to those black boxes in your QR code must be inverted.
Recommended publications
  • A Covert Encryption Method for Applications in Electronic Data Interchange
    Technological University Dublin ARROW@TU Dublin Articles School of Electrical and Electronic Engineering 2009-01-01 A Covert Encryption Method for Applications in Electronic Data Interchange Jonathan Blackledge Technological University Dublin, [email protected] Dmitry Dubovitskiy Oxford Recognition Limited, [email protected] Follow this and additional works at: https://arrow.tudublin.ie/engscheleart2 Part of the Digital Communications and Networking Commons, Numerical Analysis and Computation Commons, and the Software Engineering Commons Recommended Citation Blackledge, J., Dubovitskiy, D.: A Covert Encryption Method for Applications in Electronic Data Interchange. ISAST Journal on Electronics and Signal Processing, vol: 4, issue: 1, pages: 107 -128, 2009. doi:10.21427/D7RS67 This Article is brought to you for free and open access by the School of Electrical and Electronic Engineering at ARROW@TU Dublin. It has been accepted for inclusion in Articles by an authorized administrator of ARROW@TU Dublin. For more information, please contact [email protected], [email protected]. This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 4.0 License A Covert Encryption Method for Applications in Electronic Data Interchange Jonathan M Blackledge, Fellow, IET, Fellow, BCS and Dmitry A Dubovitskiy, Member IET Abstract— A principal weakness of all encryption systems is to make sure that the ciphertext is relatively strong (but not that the output data can be ‘seen’ to be encrypted. In other too strong!) and that the information extracted is of good words, encrypted data provides a ‘flag’ on the potential value quality in terms of providing the attacker with ‘intelligence’ of the information that has been encrypted.
    [Show full text]
  • Improved Cryptosystem Using SDES Algorithm with Substitution Ciphers G.Suman * , Ch
    Volume 3, Issue 7, July 2013 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Improved Cryptosystem Using SDES Algorithm with Substitution Ciphers G.Suman * , Ch. Krishna M. Tech (SE) & SNIST. India Abstract— Security is playing a very important and crucial role in the field of network communication system and Internet. Simplified Data encryption standard (SDES) is a private key cryptography system that provides the security in communication system but now a days the advancement in the computational power the SDES seems to be weak against the brute force attacks. To improve the security of SDES algorithm the substitution techniques are added before the SDES algorithm to perform its process. By using an Improved Cryptosystem the security has been improved which is very crucial in the communication and field of Internet. If the substitution techniques are used before the original SDES algorithm then the intruder required first to break the original SDES algorithm and then substitution techniques. So the security is more as compared to a SDES algorithm. Keywords— Cipher text, Decryption, SDES, Encryption, Plain text, OPBFT,OPBTS ,Substitution. I. Introduction The process of encoding the plaintext into cipher text is called Encryption and the process of decoding ciphers text to plaintext is called Decryption. This can be done by two techniques symmetric-key cryptography and asymmetric key cryptography. Symmetric key cryptography involves the usage of the same key for encryption and decryption. But the Asymmetric key cryptography involves the usage of one key for encryption and another different key for decryption.
    [Show full text]
  • Cryptography Using Steganography: New Algorithms and Applications
    Technological University Dublin ARROW@TU Dublin Articles School of Electrical and Electronic Engineering 2011 Cryptography Using Steganography: New Algorithms and Applications Jonathan Blackledge Technological University Dublin, [email protected] Follow this and additional works at: https://arrow.tudublin.ie/engscheleart2 Part of the Dynamic Systems Commons, and the Theory and Algorithms Commons Recommended Citation Blackledge, J. (2011) Cryptography and Steganography: New Algorithms and Applications. Lecture Notes, Centre for Advanced Studies, Warsaw University of Technology, Warsaw, 2011. doi:10.21427/D7ZS63 This Article is brought to you for free and open access by the School of Electrical and Electronic Engineering at ARROW@TU Dublin. It has been accepted for inclusion in Articles by an authorized administrator of ARROW@TU Dublin. For more information, please contact [email protected], [email protected], [email protected]. This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License Cryptography and Steganography: New Algorithms and Applications Prof. Dr. Jonathan Blackledge Science Foundation Ireland Stokes Professor School of Electrical Engineering Systems Dublin Institute of Technology Distinguished Professor Centre for Advanced Studies Warsaw University of Technology http://eleceng.dit.ie/blackledge http://jmblackledge.web.officelive.com [email protected] [email protected] Editor: Stanislaw Janeczko Technical editors: Malgorzata Zielinska, Anna Zubrowska General layout and cover design: Emilia Bojanczyk c Centre for Advanced Studies, Warsaw University of Technology, Warsaw 2011 For additional information on this series, visit the CAS Publications Website at http://www.csz.pw.edu.pl/index.php/en/publications ISBN: 978-83-61993-01-83 Pinted in Poland Preface Developing methods for ensuring the secure exchange of information is one of the oldest occupations in history.
    [Show full text]
  • Rhyming Dictionary
    Merriam-Webster's Rhyming Dictionary Merriam-Webster, Incorporated Springfield, Massachusetts A GENUINE MERRIAM-WEBSTER The name Webster alone is no guarantee of excellence. It is used by a number of publishers and may serve mainly to mislead an unwary buyer. Merriam-Webster™ is the name you should look for when you consider the purchase of dictionaries or other fine reference books. It carries the reputation of a company that has been publishing since 1831 and is your assurance of quality and authority. Copyright © 2002 by Merriam-Webster, Incorporated Library of Congress Cataloging-in-Publication Data Merriam-Webster's rhyming dictionary, p. cm. ISBN 0-87779-632-7 1. English language-Rhyme-Dictionaries. I. Title: Rhyming dictionary. II. Merriam-Webster, Inc. PE1519 .M47 2002 423'.l-dc21 2001052192 All rights reserved. No part of this book covered by the copyrights hereon may be reproduced or copied in any form or by any means—graphic, electronic, or mechanical, including photocopying, taping, or information storage and retrieval systems—without written permission of the publisher. Printed and bound in the United States of America 234RRD/H05040302 Explanatory Notes MERRIAM-WEBSTER's RHYMING DICTIONARY is a listing of words grouped according to the way they rhyme. The words are drawn from Merriam- Webster's Collegiate Dictionary. Though many uncommon words can be found here, many highly technical or obscure words have been omitted, as have words whose only meanings are vulgar or offensive. Rhyming sound Words in this book are gathered into entries on the basis of their rhyming sound. The rhyming sound is the last part of the word, from the vowel sound in the last stressed syllable to the end of the word.
    [Show full text]
  • Transposition Cipher in Cryptography, a Transposition Cipher Is a Method of Encryption by Which the Positions Held by Units of P
    Transposition cipher In cryptography, a transposition cipher is a method of encryption by which the positions held by units of plaintext (which are commonly characters or groups of characters) are shifted according to a regular system, so that the ciphertext constitutes a permutation of the plaintext. That is, the order of the units is changed. Mathematically a bijective function is used on the characters' positions to encrypt and an inverse function to decrypt. Following are some implementations. Contents • 1 Rail Fence cipher • 2 Route cipher • 3 Columnar transposition • 4 Double transposition • 5 Myszkowski transposition • 6 Disrupted transposition • 7 Grilles • 8 Detection and cryptanalysis • 9 Combinations • 10 Fractionation Rail Fence cipher The Rail Fence cipher is a form of transposition cipher that gets its name from the way in which it is encoded. In the rail fence cipher, the plaintext is written downwards on successive "rails" of an imaginary fence, then moving up when we get to the bottom. The message is then read off in rows. For example, using three "rails" and a message of 'WE ARE DISCOVERED. FLEE AT ONCE', the cipherer writes out: W . E . C . R . L . T . E . E . R . D . S . O . E . E . F . E . A . O . C . A . I . V . D . E . N . Then reads off: WECRL TEERD SOEEF EAOCA IVDEN (The cipherer has broken this ciphertext up into blocks of five to help avoid errors.) Route cipher In a route cipher, the plaintext is first written out in a grid of given dimensions, then read off in a pattern given in the key.
    [Show full text]
  • Substitution Cipher in Cryptography, a Substitution Cipher Is a Method Of
    Substitution cipher In cryptography, a substitution cipher is a method of encryption by which units of plaintext are replaced with ciphertext according to a regular system; the "units" may be single letters (the most common), pairs of letters, triplets of letters, mixtures of the above, and so forth. The receiver deciphers the text by performing an inverse substitution. Substitution ciphers can be compared with transposition ciphers. In a transposition cipher, the units of the plaintext are rearranged in a different and usually quite complex order, but the units themselves are left unchanged. By contrast, in a substitution cipher, the units of the plaintext are retained in the same sequence in the ciphertext, but the units themselves are altered. There are a number of different types of substitution cipher. If the cipher operates on single letters, it is termed a simple substitution cipher; a cipher that operates on larger groups of letters is termed polygraphic. A monoalphabetic cipher uses fixed substitution over the entire message, whereas a polyalphabetic cipher uses a number of substitutions at different times in the message, where a unit from the plaintext is mapped to one of several possibilities in the ciphertext and vice-versa. Contents • 1 Simple substitution o 1.1 Examples o 1.2 Security for simple substitution ciphers • 2 Homophonic substitution • 3 Polyalphabetic substitution • 4 Polygraphic substitution • 5 Mechanical substitution ciphers • 6 The one-time pad • 7 Substitution in modern cryptography • 8 Substitution ciphers in popular culture Simple substitution 1 ROT13 is a Caesar cipher, a type of substitution cipher. In ROT13, the alphabet is rotated 13 steps.
    [Show full text]
  • Trifid Ciphers
    Trifid Ciphers Trifid ciphers are examples of combination ciphers: The encryption process consists of a sequence of several different techniques. In this case substitution followed by fractionation and transposition are used in the encryption. The trifid cipher was invented by amateur cryptographer F´elix Delastelle, ca. 1900. The encryption key for a trifid cipher consists of a positive integer (the period) and a 3×3×3 array containing all of the distinct letters of the English alphabet plus one additional character. Typically, the additional character in the array is a symbol, such as a dot. The arrangement of the characters in the key array can be chosen at random. Below is the 3D example of an encryption key: A more basic way of looking at the above graph in a 2D form is by looking at the 3 layers, bottom to top, then numbering them from 1 to 3. Compare the 3D graph to the layers below. Layer 1 Layer 2 Layer 3 1 2 3 1 2 3 1 2 3 1 Y G U 1 F L K 1 . E J 2 Q O M 2 I H A 2 X P D 3 S V B 3 Z R W 3 C N T Suppose we want to encrypt the message “trick or treat” using a trifid cipher with encryption key consisting of period 4 and the above layers. i. Represent the letters in our message “trick or treat” with their coordinates in the encryption array: T R I C K O R T R E A T 333 232 221 331 213 122 232 333 232 312 223 333 Layer Row Column How to describe the position Number Number Number of the letter K on the chart.
    [Show full text]
  • 2. Classic Cryptography Methods 2.1. Spartan Scytale. One of the Oldest Known Examples Is the Spartan Scytale (Scytale /Skɪtəl
    2. Classic Cryptography Methods 2.1. Spartan scytale. One of the oldest known examples is the Spartan scytale (scytale /skɪtəli/, rhymes with Italy, a baton). From indirect evidence, the scytale was first mentioned by the Greek poet Archilochus who lived in the 7th century B.C. (over 2500 years ago). The ancient Greeks, and the Spartans in particular, are said to have used this cipher to communicate during military campaigns.Sender and recipient each had a cylinder (called a scytale) of exactly the same radius. The sender wound a narrow ribbon of parchment around his cylinder, then wrote on it lengthwise. After the ribbon is unwound, the writing could be read only by a person who had a cylinder of exactly the same circumference. The following table illustrate the idea. Imagine that each column wraps around the dowel one time, that is that the bottom of one column is followed by the top of the next column. Original message: Kill king tomorrow midnight Wrapped message: k i l l k i n g t o m o r r o w m i d n i g h t Encoded message: ktm ioi lmd lon kri irg noh gwt The key parameter in using the scytale encryption is the number of letters that can be recorded on one wrap ribbon around the dowel. Above the maximum was 3, since there are 3 rows in the wrapped meassage. The last row was padded with blank spaces before the message was encoded. We'll call this the wrap parameter. If you don't know the wrap parameter you cannot decode a message.
    [Show full text]
  • Polybius Square in Cryptography: a Brief Review of Literature
    ISSN 2278-3091 Jan Carlo T. Arroyo et al., International Journal ofVolume Advanced 9, Trends No.3, in May Computer - June Science 2020 and Engineering, 9(3), May – June 2020, 3798 – 3808 International Journal of Advanced Trends in Computer Science and Engineering Available Online at http://www.warse.org/IJATCSE/static/pdf/file/ijatcse198932020.pdf https://doi.org/10.30534/ijatcse/2020/198932020 Polybius Square in Cryptography: A Brief Review of Literature Jan Carlo T. Arroyo1, Cristina E. Dumdumaya2, Allemar Jhone P. Delima3 1,3College of Computing Education, University of Mindanao, Davao City, Davao del Sur, Philippines 1,2College of Information and Computing, University of Southeastern Philippines, Davao City, Davao del Sur, Philippines 3College of Engineering, Technology and Management, Cebu Technological University-Barili Campus, Cebu, Philippines [email protected], [email protected], [email protected] concerns data integrity, confidentiality, authentication to a ABSTRACT wireless communication system, and several other security services where information transfer between different users Cryptography is a method to secure sensitive data for storage takes place [10]–[12]. To protect the information, data are and communication in the presence of third parties called transformed into an unintelligible format using varied cipher adversaries. One of the first recorded incidents of technologies [15]. Maintaining data integrity and security is cryptography occurred in Ancient Rome, where the Polybius done through cipher whose bottleneck for an optimal cipher, also known as Polybius square, was developed. The implementation relies on the cipher used. A cipher is an Polybius cipher has been used as an advantage in winning algorithm responsible for both the encryption and decryption wars over enemies according to history and is also utilized as processes of a file being protected.
    [Show full text]
  • Certificate in E Certificate in E-Governance and Security Information System (CEGCS-04) Vernance and Cyber
    Certificate in e -Governance and Cyber Security Information System (CEGCS-04) Title Information System Adviso rs Mr. R. Thyagarajan, Head, Admn. & Finance and Acting Director, CEMCA Dr. Manas Ranjan Panigrahi, Program Officer(Education) , CEMCA Prof. Durgesh Pant, Director -SCS&IT, UOU Editor Er. Gopesh Pande, Network Engineer, Wipro Infotech, Mumbai Authors Block I> Unit I, Unit II, Unit III & Unit IV Er. Charanjeet Singh Chawla, Wing Commander, Indian Air Force, Ministry of Defence Block II> Unit I, Unit II, Unit III & Unit IV Er. Ashok Katariya, Group Captain, Indian Air Force, Ministry of Defence Block III> Unit I, Unit II, Unit III & Unit IV Er. Ashok Katariya, Group Captain, Indian Air Force, Ministry of Defence ISBN : 978 -93 -84813 -93 -2 Acknowledgement The University acknow ledges with thanks the expertixe and financial support provided by Commonwealth Educational Media Centre for Asia(CEMCA), New Delhi, for the preparation of this study material. Uttarakhand Open University, 2016 © Uttarak hand Open University, 2016. Information System is made available under a Creative Commons Attribution Share-Alike 4.0 Licence (international): http://creativecommons.org/licenses/by -sa/4.0/ It is attributed to the sources marked in the References, Article Sources and Contributors section. Published by: Uttarakhand Open University, Haldwani Expert Panel S. No. Name 1 Dr. Jeetendra Pande, School of Computer Science & IT, Uttarakhand Open University, Haldwani 2 Prof. Ashok Panjwani, Professor, MDI, Gurgoan 3 Group Captain Ashok Katariya, Ministry of Defense, New Delhi 4 Mr. Ashutosh Bahuguna, Scientist- CERT-In, Department Of Electronics & Information Technology, Government Of India 5 Mr. Sani Abhilash, Scientist- CERT-In, Department Of Electronics & Information Technology, Government Of India 6 Wing Commander C.S.
    [Show full text]
  • Computer and Data Security Class 4 ﺳﻜﻴﻨﺔ ﺣﺴﻦ هﺎﺷﻢ . د: أﺳﺘﺎذة اﻟﻤﺎدة
    Save from: www.uotechnology.edu.iq/dep‐cs Computer and Data security 4th Class أﺳﺘﺎذة اﻟﻤﺎدة: د. ﺳﻜﻴﻨﺔ ﺣﺴﻦ هﺎﺷﻢ Introduction to Data Security Basic Terminology Suppose that someone wants to send a message to a receiver, and wants to be sure that no-one else can read the message. However, there is the possibility that someone else opens the letter or hears the electronic communication. In cryptographic terminology, the message is called plaintext or cleartext. Encoding the contents of the message in such a way that hides its contents from outsiders is called encryption. The encrypted message is called the ciphertext. The process of retrieving the plaintext from the ciphertext is called decryption. Encryption and decryption usually make use of a key, and the coding method is such that decryption can be performed only by knowing the proper key. Cryptography is the art or science of keeping messages secret. Cryptanalysis is the art of breaking ciphers, i.e. retrieving the plaintext without knowing the proper key. People who do cryptography are cryptographers, and practitioners of cryptanalysis are cryptanalysts. Cryptography deals with all aspects of secure messaging, authentication, digital signatures, electronic money, and other applications. Cryptology is the branch of mathematics that studies the mathematical foundations of cryptographic methods. Basic Cryptographic Algorithms A method of encryption and decryption is called a cipher. Some cryptographic methods rely on the secrecy of the algorithms; such algorithms are only of historical interest and are not adequate for real-world needs. All modern algorithms 1 use a key to control encryption and decryption; a message can be decrypted only if the key matches the encryption key.
    [Show full text]
  • Book Cipher, Running Key Cipher, Vic Cipher and Secom Cipher
    BOOK CIPHER, RUNNING KEY CIPHER, VIC CIPHER AND SECOM CIPHER A book cipher is a cipher in which the key is some aspect of a book or other piece of text; books being common and widely available in modern times, users of book ciphers take the position that the details of the key is sufficiently well hidden from attackers in practice. This is in some ways an example of security by obscurity . It is typically essential that both correspondents not only have the same book, but the same edition .[1] Traditionally book ciphers work by replacing words in the plaintext of a message with the location of words from the book being used. In this mode, book ciphers are more properly called codes. This can have problems; if a word appears in the plaintext but not in the book, it cannot be encoded. An alternative approach which gets around this problem is to replace individual letters rather than words. One such method, used in the second Beale cipher , substitutes the first letter of a word in the book with that word's position. In this case, the book cipher is properly a cipher — specifically, a homophonic substitution cipher . However, if used often, this technique has the side effect of creating a larger ciphertext (typically 4 to 6 digits being required to encipher each letter or syllable) and increases the time and effort required to decode the message. Choosing the Key [] The main strength of a book cipher is the key. The sender and receiver of encoded messages can agree to use any book or other publication available to both of them as the key to their cipher.
    [Show full text]