PART2. Theinsecurityofamonoalphabeticcodeisduetothefactthateachtimeagivenletteroccursintheoriginalmessage,itisencodedusingthesameletterintheencrypted
|
|
- Berniece Kelly
- 5 years ago
- Views:
Transcription
1 Parabola Volume 36, Issue 3(2000) Cryptography PART2 RodJames 1 InthepreviousissueofParabola 2 wesawhowtoencode(andalsohowtobreak!) monoalphabetic ciphers(i.e. we replace each letter of the alphabet by some other letter everytimeitoccursinthemessage).wenowlookatsomemorecomplexcodes. Polyalphabetic Codes Theinsecurityofamonoalphabeticcodeisduetothefactthateachtimeagivenletteroccursintheoriginalmessage,itisencodedusingthesameletterintheencrypted text. Thus,ifthemessageislongenough,thecodecanbebrokenbycomparingthe frequency of each letter in the encypted text with frequencies of letters in most messages. For example, in the earlier article, we were able to recognize the encryption of theletterseandtbecausetheywerethemostfrequentandthefrequencyofthepair ZWsuggestedthatitwastheencryptionofTH. To overcome this insecurity, we(mentally) write the message in a number of columns and use different(monoalphabetic) codes for each column. The easiest way to do this istochooseaword(calledthekeyword),writethemessageinthesamenumberof columnsasthenumberoflettersinthekeywordandthenusea Caesarcipher by adding to each column the number corresponding to that letter of the keyword. For example,ifwechosethewordcatasthekeywordthenwewouldwritethemessage in3columnsandadd3(mod26)tothefirstcolumn,1(mod26)tothesecondcolumnand20(mod26)tothethirdcolumn.thusvenividiviciwouldbeencryptedas follows: VEN IVI DIV ICI which would then be written add 3,1,20 (mod 26) Y F H L W C G J P L D C. YFH LWC GJP LDC Atfirstsight,itappearsasthoughthiscodewouldbeimpossibletobreak.However, polyalphabetic codes can also be broken by using a little more ingenuity: all we need do is discover how many columns there are and then break the monoalphabetic code 1 RodJamesisalecturerinMathematicsatUNSWandistheeditorofParabola. 2 SeeParabolaVol.36No.2 1
2 for each column. For example, imagine that the following was confiscated from a(very silly and not very smart) student during an examination: CTAIF GBJGN QRUWF QNEZX ENQRN QVLMD ONFNR BHRFN QEYNV NRFNQ RMJZY JFNQR UBFCP AGNAN where the letters are grouped in fives for convenience only. Note that the sequence NQRoccurs4times,startingatpositions10,22,49and58,andsotheyare12,27and 9lettersapart.Sincetheselastthreenumbersareallmultiplesof3,thissuggeststhat acodewasusedwithakeywordoflengthamultipleof3.sowewritethelettersin triples(rather than columns for economy of space) as follows: CTA IFG BJG NQR UWF QNE ZXE NQR NQV LMD ONF NRB HRF NQE YNV NRFNQRUBFCPAGNA N NownoticethatthepairNQ(letters14and17ofthealphabet)occurs6timesinthe first 2 columns suggesting that this represents TH(letters 20 and 8 of the alphabet) intheoriginalmessage.since14 20(mod26)is20and17 8is 9,trysubtracting20 (mod26)fromthefirstcolumnand9(mod26)fromthesecondcolumn. Theresult (with decrypted letters in lower case) is ika owg hagthranfwee foe th R thv rd D uef ti B nif the eev tifthr saz eaf thr asf ig A mea t. ItisnoweasytoseethatthekeywordwasTIMandthemessagewas Iknowthattheanswerforthethirdquestionisthree. Itisthesameastheassignment. Public Key Cryptography Allofthecodeswehaveconsideredsofarrelyonsecrecyfortheirsecurity:ifaspy whoknowsthecoderevealsittoanyone,thentheycandecipheranymessageandthe code becomes useless. However, in 1976, Diffie and Helman suggested a new approach inwhicheveryoneknowsthekeyrequiredtoencodeamessage(andsocandoso),but asecondkeyisneededtodecodemessages. Thisdecodingkeyisonlyprovidedto thosewithauthoritytodecode,anditisimpossible(atleastinareasonableamountof time)tofindthedecodingkeyfromaknowledgeoftheencodingkey. Oneoftheearliest,andstillwidelyused,public-keycodeswascreatedin1977by Rivest, Shamir and Adleman, now referred to as RSA-coding. To understand the RSAcode,rememberthat,ifwehave nsymbols(e.g. n = 26forthealphabet),thenthe Caesarcipherisanexampleofan additioncipher m m + k(mod n), where kisthekey.alsoitwassuggestedinthepreviousissuethata multiplication cipher m km(mod n) couldbeusedprovidedthat kiscoprimeto n.amoresophisticated cipherwouldbea power cipher m m k (mod n), andamessageencodedby such a cipher can be decoded using the following two results: 2
3 Theorem1 If a, baretwocoprimeintegers,thenthereareintegers x, ysuchthat ax + by = 1. Theorem2 If aisanintegerand φ(n)isthenumberofintegersbetween 0and nwhichare coprimeto n,then a φ(n) = 1 (mod n). Thus,if kisthekeyforapowercipherand kiscoprimeto φ(n),thenthereareintegers x, ysuchthat kx + φ(n)y = 1 andso m = m 1 = m kx+φ(n)y = m kx m φ(n)y = m kx 1 = m kx (mod n). Sodecodingconsistsofraisingtheencodedmessage c = m k c c x = (m k ) x = m. Wewillwrite k 1 (mod φ(n))forthis x. Examples tothe x thpower: 1. Suppose we were encoding a message which included spaces between words, commasandfullstops(aswellasthe26lettersofthealphabet)byreplacing A by 1, Bby 2,..., Zby26,spaceby27,commaby28andfullstopby0,andthen using m m 3 (mod 29). Sinceallofthenumbers 1, 2,..., 28arecoprimeto29, φ(29) = 28 and = 1. So 3 1 (mod 28) = 19anddecodingconsistsof c c 19 (mod 29). 2.Supposeweonlyusedthe26lettersofthealphabet(replacinglettersbynumbers asinexample1)andthenused m m 5 (mod 26) The set of numbers between 0 and 26 which are coprime to 26 is {1, 3, 5, 7, 9, 11, 15, 17, 19, 21,23, 25} andso φ(26) = 12. Also So φ(26) = 12 = and 5 = = = 5 2(12 2 5) = (mod 12) and 5 1 (mod 12) = 5. Decodingconsistsof c c 5 (mod 26). 3
4 Ingeneral,if pand qareprimenumbers,then φ(p) = p 1and φ(pq) = pq 1 (numberofmultiplesof q +numberofmultiplesof p) = pq 1 (p + q) = (p 1)(q 1). Nowtheimportantfeatureofnumbersoftheform n = pqisthatitisimpossibleto calculate φ(n) unless you know p and q. Currently there is no way of quickly calculatingthefactorsoflargenumbers(evenbycomputer)andsoamessagewhichwas encodedby m m k (mod n)cannotbedecodedunlessthefactorsof nareknown, eventhough nand kareknown. Thusacodeofthisformissafeevenifeveryone knows nand kprovidedtheydonotknow pand q(or,equivalently φ(n))andso,we cancreateanrsacode,bydoingthefollowing: 1.choose2randomlargeprimenumbers p, q(say100digits),find n = pqandcalculate φ(n) = (p 1)(q 1); 2.choosearandomnumber kbetween1and φ(n)whichiscoprimeto φ(n)andfind l = k 1 (mod φ(n)) usingtheorem1. Thepublickeyisthenthepair (n, k)andthesecretkeyis l(where,nowthat lhasbeen found,wecanforget p, qand φ(n)). Example3 Theproblemwithexamples1and2isthattheletter Acanalwaysbe recognisedsince 1 k = 1.Soweusethefollowingreplacements: 0 0, 1 1, space 2, A 3,...,Z 28, Nowsupposethat p = 31and q = 47.Then n = pq = 1457(public)and φ(n) = = Ifthepublickeyis k = 7,thenthesecretkeyis 7 1 (mod 1380) = Wemustkeep p, qand φ(n)secret(orjustforgetthemonce 7 1 isfound). IfanyonewantedtoencodetheletterY,theywouldusethefollowing: Y (mod 1457) = 914 = c. If(andonlyif)someoneknewthesecretkey,theycoulddecodethisasfollows: This example is quite unrealistic since (mod 1457) = 27 Y. (a)1457iseasilyfactoredandhencesomeonecaneasilybreakit; (b)itisalsosimplya29lettermonoalphabeticsubstitutionandsoiseasilybrokenby the statistical methods above. 4
5 Wecouldimproveon(b)byencoding,andthenenciphering,pairsofletters (a, b)by writing (a, b) as 29a + b, asinthefollowingexample then UP (23, 18) = (mod 1457) = c. However,eventhisisstillonlya29 2 = 841lettersimplealphabeticsubstitution. Inreallife, pand qarechosentohaveabout100digitseachandso nhasabout200 digits. This allows us to break the message up into 75-character chunks of integers and applyrsatoeachchunkinturn.thisissolargethatstatisticalmethodsareuseless for breaking it. Also RSA is slow, since calculating powers mod n for large n needs special computerpackagesandlotsofarithmetic.hencersaisrarelyusedinreallifetosendthe whole message. What usually happens is: 1. Arandomlygeneratesalargetemporarykey k, 2. Aencryptsthekey kusingrsa, 3. Aencryptsthemessage mto cusing k, 4. Asendsboth candtheencryptedkey kto B, 5. Bfinds kusingrsadecryption. 6. Bthenusesthis ktodecodethemessage. Thekey kcannotbefoundbystatitisticalmeanssinceadifferentkeyisgeneratedfor each message. Ifyouareinterestedinlearningmore,youcanstartwith TheCodeBook bysimon Singh(published by Fourth Estate) or visit the RSA webside 5
Mathematics Explorers Club Fall 2012 Number Theory and Cryptography
Mathematics Explorers Club Fall 2012 Number Theory and Cryptography Chapter 0: Introduction Number Theory enjoys a very long history in short, number theory is a study of integers. Mathematicians over
More informationAlgorithmic Number Theory and Cryptography (CS 303)
Algorithmic Number Theory and Cryptography (CS 303) Modular Arithmetic and the RSA Public Key Cryptosystem Jeremy R. Johnson 1 Introduction Objective: To understand what a public key cryptosystem is and
More informationDiffie-Hellman key-exchange protocol
Diffie-Hellman key-exchange protocol This protocol allows two users to choose a common secret key, for DES or AES, say, while communicating over an insecure channel (with eavesdroppers). The two users
More informationDiscrete Mathematics & Mathematical Reasoning Multiplicative Inverses and Some Cryptography
Discrete Mathematics & Mathematical Reasoning Multiplicative Inverses and Some Cryptography Colin Stirling Informatics Some slides based on ones by Myrto Arapinis Colin Stirling (Informatics) Discrete
More informationNumber Theory and Security in the Digital Age
Number Theory and Security in the Digital Age Lola Thompson Ross Program July 21, 2010 Lola Thompson (Ross Program) Number Theory and Security in the Digital Age July 21, 2010 1 / 37 Introduction I have
More informationPublic Key Encryption
Math 210 Jerry L. Kazdan Public Key Encryption The essence of this procedure is that as far as we currently know, it is difficult to factor a number that is the product of two primes each having many,
More informationMA/CSSE 473 Day 9. The algorithm (modified) N 1
MA/CSSE 473 Day 9 Primality Testing Encryption Intro The algorithm (modified) To test N for primality Pick positive integers a 1, a 2,, a k < N at random For each a i, check for a N 1 i 1 (mod N) Use the
More informationL29&30 - RSA Cryptography
L29&30 - RSA Cryptography CSci/Math 2112 20&22 July 2015 1 / 13 Notation We write a mod n for the integer b such that 0 b < n and a b (mod n). 2 / 13 Calculating Large Powers Modulo n Example 1 What is
More informationMath 319 Problem Set #7 Solution 18 April 2002
Math 319 Problem Set #7 Solution 18 April 2002 1. ( 2.4, problem 9) Show that if x 2 1 (mod m) and x / ±1 (mod m) then 1 < (x 1, m) < m and 1 < (x + 1, m) < m. Proof: From x 2 1 (mod m) we get m (x 2 1).
More informationClassical Cryptography
Classical Cryptography CS 6750 Lecture 1 September 10, 2009 Riccardo Pucella Goals of Classical Cryptography Alice wants to send message X to Bob Oscar is on the wire, listening to all communications Alice
More informationFermat s little theorem. RSA.
.. Computing large numbers modulo n (a) In modulo arithmetic, you can always reduce a large number to its remainder a a rem n (mod n). (b) Addition, subtraction, and multiplication preserve congruence:
More informationThe number theory behind cryptography
The University of Vermont May 16, 2017 What is cryptography? Cryptography is the practice and study of techniques for secure communication in the presence of adverse third parties. What is cryptography?
More informationLecture 32. Handout or Document Camera or Class Exercise. Which of the following is equal to [53] [5] 1 in Z 7? (Do not use a calculator.
Lecture 32 Instructor s Comments: This is a make up lecture. You can choose to cover many extra problems if you wish or head towards cryptography. I will probably include the square and multiply algorithm
More informationChapter 3 LEAST SIGNIFICANT BIT STEGANOGRAPHY TECHNIQUE FOR HIDING COMPRESSED ENCRYPTED DATA USING VARIOUS FILE FORMATS
44 Chapter 3 LEAST SIGNIFICANT BIT STEGANOGRAPHY TECHNIQUE FOR HIDING COMPRESSED ENCRYPTED DATA USING VARIOUS FILE FORMATS 45 CHAPTER 3 Chapter 3: LEAST SIGNIFICANT BIT STEGANOGRAPHY TECHNIQUE FOR HIDING
More informationCryptography Made Easy. Stuart Reges Principal Lecturer University of Washington
Cryptography Made Easy Stuart Reges Principal Lecturer University of Washington Why Study Cryptography? Secrets are intrinsically interesting So much real-life drama: Mary Queen of Scots executed for treason
More informationDUBLIN CITY UNIVERSITY
DUBLIN CITY UNIVERSITY SEMESTER ONE EXAMINATIONS 2013 MODULE: (Title & Code) CA642 Cryptography and Number Theory COURSE: M.Sc. in Security and Forensic Computing YEAR: 1 EXAMINERS: (Including Telephone
More informationAlgorithmic Number Theory and Cryptography (CS 303)
Algorithmic Number Theory and Cryptography (CS 303) Modular Arithmetic Jeremy R. Johnson 1 Introduction Objective: To become familiar with modular arithmetic and some key algorithmic constructions that
More informationRelated Ideas: DHM Key Mechanics
Related Ideas: DHM Key Mechanics Example (DHM Key Mechanics) Two parties, Alice and Bob, calculate a key that a third person Carl will never know, even if Carl intercepts all communication between Alice
More informationp 1 MAX(a,b) + MIN(a,b) = a+b n m means that m is a an integer multiple of n. Greatest Common Divisor: We say that n divides m.
Great Theoretical Ideas In Computer Science Steven Rudich CS - Spring Lecture Feb, Carnegie Mellon University Modular Arithmetic and the RSA Cryptosystem p- p MAX(a,b) + MIN(a,b) = a+b n m means that m
More informationCPSC 467: Cryptography and Computer Security
CPSC 467: Cryptography and Computer Security Michael J. Fischer Lecture 5b September 11, 2013 CPSC 467, Lecture 5b 1/11 Stream ciphers CPSC 467, Lecture 5b 2/11 Manual stream ciphers Classical stream ciphers
More informationApplication: Public Key Cryptography. Public Key Cryptography
Application: Public Key Cryptography Suppose I wanted people to send me secret messages by snail mail Method 0. I send a padlock, that only I have the key to, to everyone who might want to send me a message.
More informationB. Substitution Ciphers, continued. 3. Polyalphabetic: Use multiple maps from the plaintext alphabet to the ciphertext alphabet.
B. Substitution Ciphers, continued 3. Polyalphabetic: Use multiple maps from the plaintext alphabet to the ciphertext alphabet. Non-periodic case: Running key substitution ciphers use a known text (in
More informationNumber Theory and Public Key Cryptography Kathryn Sommers
Page!1 Math 409H Fall 2016 Texas A&M University Professor: David Larson Introduction Number Theory and Public Key Cryptography Kathryn Sommers Number theory is a very broad and encompassing subject. At
More informationData security (Cryptography) exercise book
University of Debrecen Faculty of Informatics Data security (Cryptography) exercise book 1 Contents 1 RSA 4 1.1 RSA in general.................................. 4 1.2 RSA background.................................
More informationPublic Key Cryptography
Public Key Cryptography How mathematics allows us to send our most secret messages quite openly without revealing their contents - except only to those who are supposed to read them The mathematical ideas
More informationLinear Congruences. The solutions to a linear congruence ax b (mod m) are all integers x that satisfy the congruence.
Section 4.4 Linear Congruences Definition: A congruence of the form ax b (mod m), where m is a positive integer, a and b are integers, and x is a variable, is called a linear congruence. The solutions
More informationCHAPTER 2. Modular Arithmetic
CHAPTER 2 Modular Arithmetic In studying the integers we have seen that is useful to write a = qb + r. Often we can solve problems by considering only the remainder, r. This throws away some of the information,
More informationIntroduction to Cryptography CS 355
Introduction to Cryptography CS 355 Lecture 25 Mental Poker And Semantic Security CS 355 Fall 2005 / Lecture 25 1 Lecture Outline Review of number theory The Mental Poker Protocol Semantic security Semantic
More informationIntroduction to Modular Arithmetic
1 Integers modulo n 1.1 Preliminaries Introduction to Modular Arithmetic Definition 1.1.1 (Equivalence relation). Let R be a relation on the set A. Recall that a relation R is a subset of the cartesian
More information1 Introduction to Cryptology
U R a Scientist (CWSF-ESPC 2017) Mathematics and Cryptology Patrick Maidorn and Michael Kozdron (Department of Mathematics & Statistics) 1 Introduction to Cryptology While the phrase making and breaking
More informationMA 111, Topic 2: Cryptography
MA 111, Topic 2: Cryptography Our next topic is something called Cryptography, the mathematics of making and breaking Codes! In the most general sense, Cryptography is the mathematical ideas behind changing
More informationCryptography. Module in Autumn Term 2016 University of Birmingham. Lecturers: Mark D. Ryan and David Galindo
Lecturers: Mark D. Ryan and David Galindo. Cryptography 2017. Slide: 1 Cryptography Module in Autumn Term 2016 University of Birmingham Lecturers: Mark D. Ryan and David Galindo Slides originally written
More informationGrade 7 & 8 Math Circles October 12, 2011 Modular Arithmetic
1 University of Waterloo Faculty of Mathematics Centre for Education in Mathematics and Computing Grade 7 & 8 Math Circles October 12, 2011 Modular Arithmetic To begin: Before learning about modular arithmetic
More informationFinal exam. Question Points Score. Total: 150
MATH 11200/20 Final exam DECEMBER 9, 2016 ALAN CHANG Please present your solutions clearly and in an organized way Answer the questions in the space provided on the question sheets If you run out of room
More informationSheet 1: Introduction to prime numbers.
Option A Hand in at least one question from at least three sheets Sheet 1: Introduction to prime numbers. [provisional date for handing in: class 2.] 1. Use Sieve of Eratosthenes to find all prime numbers
More informationSolutions for the Practice Final
Solutions for the Practice Final 1. Ian and Nai play the game of todo, where at each stage one of them flips a coin and then rolls a die. The person who played gets as many points as the number rolled
More informationo Broken by using frequency analysis o XOR is a polyalphabetic cipher in binary
We spoke about defense challenges Crypto introduction o Secret, public algorithms o Symmetric, asymmetric crypto, one-way hashes Attacks on cryptography o Cyphertext-only, known, chosen, MITM, brute-force
More informationCryptography. 2. decoding is extremely difficult (for protection against eavesdroppers);
18.310 lecture notes September 2, 2013 Cryptography Lecturer: Michel Goemans 1 Public Key Cryptosystems In these notes, we will be concerned with constructing secret codes. A sender would like to encrypt
More informationEE 418: Network Security and Cryptography
EE 418: Network Security and Cryptography Homework 3 Solutions Assigned: Wednesday, November 2, 2016, Due: Thursday, November 10, 2016 Instructor: Tamara Bonaci Department of Electrical Engineering University
More informationExample Enemy agents are trying to invent a new type of cipher. They decide on the following encryption scheme: Plaintext converts to Ciphertext
Cryptography Codes Lecture 3: The Times Cipher, Factors, Zero Divisors, and Multiplicative Inverses Spring 2015 Morgan Schreffler Office: POT 902 http://www.ms.uky.edu/~mschreffler New Cipher Times Enemy
More informationUNIVERSITY OF MANITOBA DATE: December 7, FINAL EXAMINATION TITLE PAGE TIME: 3 hours EXAMINER: M. Davidson
TITLE PAGE FAMILY NAME: (Print in ink) GIVEN NAME(S): (Print in ink) STUDENT NUMBER: SEAT NUMBER: SIGNATURE: (in ink) (I understand that cheating is a serious offense) INSTRUCTIONS TO STUDENTS: This is
More informationCryptography Lecture 1: Remainders and Modular Arithmetic Spring 2014 Morgan Schreffler Office: POT 902
Cryptography Lecture 1: Remainders and Modular Arithmetic Spring 2014 Morgan Schreffler Office: POT 902 http://www.ms.uky.edu/~mschreffler Topic Idea: Cryptography Our next topic is something called Cryptography,
More informationPublic Key Cryptography Great Ideas in Theoretical Computer Science Saarland University, Summer 2014
7 Public Key Cryptography Great Ideas in Theoretical Computer Science Saarland University, Summer 2014 Cryptography studies techniques for secure communication in the presence of third parties. A typical
More informationXor. Isomorphisms. CS70: Lecture 9. Outline. Is public key crypto possible? Cryptography... Public key crypography.
CS70: Lecture 9. Outline. 1. Public Key Cryptography 2. RSA system 2.1 Efficiency: Repeated Squaring. 2.2 Correctness: Fermat s Theorem. 2.3 Construction. 3. Warnings. Cryptography... m = D(E(m,s),s) Alice
More informationAsynchronous vs. Synchronous Design of RSA
vs. Synchronous Design of RSA A. Rezaeinia, V. Fatemi, H. Pedram,. Sadeghian, M. Naderi Computer Engineering Department, Amirkabir University of Technology, Tehran, Iran {rezainia,fatemi,pedram,naderi}@ce.aut.ac.ir
More informationExample Enemy agents are trying to invent a new type of cipher. They decide on the following encryption scheme: Plaintext converts to Ciphertext
Cryptography Codes Lecture 4: The Times Cipher, Factors, Zero Divisors, and Multiplicative Inverses Spring 2014 Morgan Schreffler Office: POT 902 http://www.ms.uky.edu/~mschreffler New Cipher Times Enemy
More informationSecurity Enhancement and Speed Monitoring of RSA Algorithm
Security Enhancement and Speed Monitoring of RSA Algorithm Sarthak R Patel 1, Prof. Khushbu Shah 2 1 PG Scholar, 2 Assistant Professor Computer Engineering Department, LJIET, Gujarat Technological University,
More informationMAT Modular arithmetic and number theory. Modular arithmetic
Modular arithmetic 1 Modular arithmetic may seem like a new and strange concept at first The aim of these notes is to describe it in several different ways, in the hope that you will find at least one
More informationSynthesis and Analysis of 32-Bit RSA Algorithm Using VHDL
Synthesis and Analysis of 32-Bit RSA Algorithm Using VHDL Sandeep Singh 1,a, Parminder Singh Jassal 2,b 1M.Tech Student, ECE section, Yadavindra collage of engineering, Talwandi Sabo, India 2Assistant
More informationCryptography, Number Theory, and RSA
Cryptography, Number Theory, and RSA Joan Boyar, IMADA, University of Southern Denmark November 2015 Outline Symmetric key cryptography Public key cryptography Introduction to number theory RSA Modular
More informationAssignment 2. Due: Monday Oct. 15, :59pm
Introduction To Discrete Math Due: Monday Oct. 15, 2012. 11:59pm Assignment 2 Instructor: Mohamed Omar Math 6a For all problems on assignments, you are allowed to use the textbook, class notes, and other
More informationRandom Bit Generation and Stream Ciphers
Random Bit Generation and Stream Ciphers Raj Jain Washington University in Saint Louis Saint Louis, MO 63130 Jain@cse.wustl.edu Audio/Video recordings of this lecture are available at: 8-1 Overview 1.
More informationFPGA Implementation of Secured Image STEGNOGRAPHY based on VIGENERE CIPHER and X BOX Mapping Techniques
FPGA Implementation of Secured Image STEGNOGRAPHY based on VIGENERE CIPHER and X BOX Mapping Techniques Aniketkulkarni Sheela.c DhirajDeshpande M.Tech, TOCE Asst.Prof, TOCE Asst.prof,BKIT aniketoxc@gmail.com
More informationCS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague 7 November, CS1800 Discrete Structures Midterm Version C
CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague 7 November, 2016 CS1800 Discrete Structures Midterm Version C Instructions: 1. The exam is closed book and closed notes.
More informationFoundations of Cryptography
Foundations of Cryptography Ville Junnila viljun@utu.fi Department of Mathematics and Statistics University of Turku 2015 Ville Junnila viljun@utu.fi Lecture 10 1 of 17 The order of a number (mod n) Definition
More informationChinese Remainder. Discrete Mathematics Andrei Bulatov
Chnese Remander Introducton Theorem Dscrete Mathematcs Andre Bulatov Dscrete Mathematcs Chnese Remander Theorem 34-2 Prevous Lecture Resdues and arthmetc operatons Caesar cpher Pseudorandom generators
More informationSecured data transmission in a V-Blast encoded MIMO MCCDMA wireless communication system
Institute of Advanced Engineering and Science International Journal of Information & Network Security (IJINS) Vol.2, No.3, June 2013, pp. 245~252 ISSN: 2089-3299 245 Secured data transmission in a V-Blast
More informationCS70: Lecture 8. Outline.
CS70: Lecture 8. Outline. 1. Finish Up Extended Euclid. 2. Cryptography 3. Public Key Cryptography 4. RSA system 4.1 Efficiency: Repeated Squaring. 4.2 Correctness: Fermat s Theorem. 4.3 Construction.
More informationChaotically Modulated RSA/SHIFT Secured IFFT/FFT Based OFDM Wireless System
Chaotically Modulated RSA/SHIFT Secured IFFT/FFT Based OFDM Wireless System Sumathra T 1, Nagaraja N S 2, Shreeganesh Kedilaya B 3 Department of E&C, Srinivas School of Engineering, Mukka, Mangalore Abstract-
More informationPseudorandom Number Generation and Stream Ciphers
Pseudorandom Number Generation and Stream Ciphers Raj Jain Washington University in Saint Louis Saint Louis, MO 63130 Jain@cse.wustl.edu Audio/Video recordings of this lecture are available at: http://www.cse.wustl.edu/~jain/cse571-14/
More informationSolution: Alice tosses a coin and conveys the result to Bob. Problem: Alice can choose any result.
Example - Coin Toss Coin Toss: Alice and Bob want to toss a coin. Easy to do when they are in the same room. How can they toss a coin over the phone? Mutual Commitments Solution: Alice tosses a coin and
More informationEncryption Systems 4/14/18. We have seen earlier that Python supports the sorting of lists with the built- in.sort( ) method
Sorting Encryption Systems CSC121, Introduction to Computer Programming We have seen earlier that Python supports the sorting of lists with the built- in.sort( ) method >>> a = [ 5, 2, 3, 1, 4 ] >>> a.sort(
More informationMath 127: Equivalence Relations
Math 127: Equivalence Relations Mary Radcliffe 1 Equivalence Relations Relations can take many forms in mathematics. In these notes, we focus especially on equivalence relations, but there are many other
More informationPublic-key Cryptography: Theory and Practice
Public-key Cryptography Theory and Practice Department of Computer Science and Engineering Indian Institute of Technology Kharagpur Chapter 5: Cryptographic Algorithms Common Encryption Algorithms RSA
More informationCryptography CS 555. Topic 20: Other Public Key Encryption Schemes. CS555 Topic 20 1
Cryptography CS 555 Topic 20: Other Public Key Encryption Schemes Topic 20 1 Outline and Readings Outline Quadratic Residue Rabin encryption Goldwasser-Micali Commutative encryption Homomorphic encryption
More informationPrimitive Roots. Chapter Orders and Primitive Roots
Chapter 5 Primitive Roots The name primitive root applies to a number a whose powers can be used to represent a reduced residue system modulo n. Primitive roots are therefore generators in that sense,
More informationMath 1111 Math Exam Study Guide
Math 1111 Math Exam Study Guide The math exam will cover the mathematical concepts and techniques we ve explored this semester. The exam will not involve any codebreaking, although some questions on the
More informationThe $1,000,000 MathPickle Problems
The $1,000,000 MathPickle Problems The MathPickle is in the process of proposing 13 unsolved problems in mathematics (one for each grade, K-12). These are problems that can be understood by students in
More informationDrill Time: Remainders from Long Division
Drill Time: Remainders from Long Division Example (Drill Time: Remainders from Long Division) Get some practice finding remainders. Use your calculator (if you want) then check your answers with a neighbor.
More informationIntroduction to Cryptography
Introduction to Cryptography Brian Veitch July 2, 2013 Contents 1 Introduction 3 1.1 Alice, Bob, and Eve........................... 3 1.2 Basic Terminology........................... 4 1.3 Brief History
More informationEE 418 Network Security and Cryptography Lecture #3
EE 418 Network Security and Cryptography Lecture #3 October 6, 2016 Classical cryptosystems. Lecture notes prepared by Professor Radha Poovendran. Tamara Bonaci Department of Electrical Engineering University
More informationA basic guitar is a musical string instrument with six strings. In standard tuning they have the notes E, A, D, G, B and E
A.Manimaran* et al. International Journal Of Pharmacy & Technology ISSN: 0975-766X CODEN: IJPTFI Available Online through Research Article www.ijptonline.com DATA ENCRYPTION AND DECRYPTION USING GUITAR
More information#27: Number Theory, Part II: Modular Arithmetic and Cryptography May 1, 2009
#27: Number Theory, Part II: Modular Arithmetic and Cryptography May 1, 2009 This week you will study modular arithmetic arithmetic where we make the natural numbers wrap around by only considering their
More informationBlock Ciphers Security of block ciphers. Symmetric Ciphers
Lecturers: Mark D. Ryan and David Galindo. Cryptography 2016. Slide: 26 Assume encryption and decryption use the same key. Will discuss how to distribute key to all parties later Symmetric ciphers unusable
More informationDiscrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Midterm 2 Solutions
CS 70 Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Midterm 2 Solutions PRINT Your Name: Oski Bear SIGN Your Name: OS K I PRINT Your Student ID: CIRCLE your exam room: Pimentel
More informationElGamal Public-Key Encryption and Signature
ElGamal Public-Key Encryption and Signature Çetin Kaya Koç koc@cs.ucsb.edu Çetin Kaya Koç http://koclab.org Winter 2017 1 / 10 ElGamal Cryptosystem and Signature Scheme Taher ElGamal, originally from Egypt,
More informationDistribution of Primes
Distribution of Primes Definition. For positive real numbers x, let π(x) be the number of prime numbers less than or equal to x. For example, π(1) = 0, π(10) = 4 and π(100) = 25. To use some ciphers, we
More informationA4M33PAL, ZS , FEL ČVUT
Pseudorandom numbers John von Neumann: Any one who considers arithmetical methods of producing random digits is, of course, in a state of sin. For, as has been pointed out several times, there is no such
More informationMath 1111 Math Exam Study Guide
Math 1111 Math Exam Study Guide The math exam will cover the mathematical concepts and techniques we ve explored this semester. The exam will not involve any codebreaking, although some questions on the
More informationTMA4155 Cryptography, Intro
Trondheim, December 12, 2006. TMA4155 Cryptography, Intro 2006-12-02 Problem 1 a. We need to find an inverse of 403 modulo (19 1)(31 1) = 540: 540 = 1 403 + 137 = 17 403 50 540 + 50 403 = 67 403 50 540
More informationFall. Spring. Possible Summer Topics
Fall Paper folding: equilateral triangle (parallel postulate and proofs of theorems that result, similar triangles), Trisect a square paper Divisibility by 2-11 and by combinations of relatively prime
More informationCryptography s Application in Numbers Station
Cryptography s Application in Numbers Station Jacqueline - 13512074 1 Program Studi Teknik Informatika Sekolah Teknik Elektro dan Informatika Institut Teknologi Bandung, Jl. Ganesha 10 Bandung 40132, Indonesia
More informationDUBLIN CITY UNIVERSITY
DUBLIN CITY UNIVERSITY SEMESTER ONE EXAMINATIONS 2013/2014 MODULE: CA642/A Cryptography and Number Theory PROGRAMME(S): MSSF MCM ECSA ECSAO MSc in Security & Forensic Computing M.Sc. in Computing Study
More informationPublic-Key Cryptosystem Based on Composite Degree Residuosity Classes. Paillier Cryptosystem. Harmeet Singh
Public-Key Cryptosystem Based on Composite Degree Residuosity Classes aka Paillier Cryptosystem Harmeet Singh Harmeet Singh Winter 2018 1 / 26 Background s Background Foundation of public-key encryption
More informationA STENO HIDING USING CAMOUFLAGE BASED VISUAL CRYPTOGRAPHY SCHEME
International Journal of Power Control Signal and Computation (IJPCSC) Vol. 2 No. 1 ISSN : 0976-268X A STENO HIDING USING CAMOUFLAGE BASED VISUAL CRYPTOGRAPHY SCHEME 1 P. Arunagiri, 2 B.Rajeswary, 3 S.Arunmozhi
More informationNEW METHOD FOR USING CHAOTIC MAPS TO IMAGE ENCRYPTION
International Journal of Civil Engineering and Technology (IJCIET) Volume 9, Issue 13, December 2018, pp. 224-231, Article ID: IJCIET_09_13_025 Available online at http://www.iaeme.com/ijciet/issues.asp?jtype=ijciet&vtype=9&itype=13
More informationTable 1: Vignere cipher with key MATH.
Score: Name: Project 3 - Cryptography Math 1030Q Fall 2014 Professor Hohn Show all of your work! Write neatly. No credit will be given to unsupported answers. Projects are due at the beginning of class.
More informationClassification of Ciphers
Classification of Ciphers A Thesis Submitted in Partial Fulfillment of the Requirements for the Degree of Master of Technology by Pooja Maheshwari to the Department of Computer Science & Engineering Indian
More informationCryptography Math 1580 Silverman First Hour Exam Mon Oct 2, 2017
Name: Cryptography Math 1580 Silverman First Hour Exam Mon Oct 2, 2017 INSTRUCTIONS Read Carefully Time: 50 minutes There are 5 problems. Write your name legibly at the top of this page. No calculators
More informationConcealing Data for Secure Transmission and Storage
Concealing Data for Secure Transmission and Storage Abirami.P1, Shanmugam.M2 1Department of Civil Engineering, Institute of Remote Sensing, Anna University, Chennai, India 2Scientist, Institute of Remote
More informationSuccessful Implementation of the Hill and Magic Square Ciphers: A New Direction
Successful Implementation of the Hill and Magic Square Ciphers: A New Direction ISSN:319-7900 Tomba I. : Dept. of Mathematics, Manipur University, Imphal, Manipur (INDIA) Shibiraj N, : Research Scholar
More informationVernam Encypted Text in End of File Hiding Steganography Technique
Vernam Encypted Text in End of File Hiding Steganography Technique Wirda Fitriani 1, Robbi Rahim 2, Boni Oktaviana 3, Andysah Putera Utama Siahaan 4 1,4 Faculty of Computer Science, Universitas Pembanguan
More informationMAT 302: ALGEBRAIC CRYPTOGRAPHY. Department of Mathematical and Computational Sciences University of Toronto, Mississauga.
MAT 302: ALGEBRAIC CRYPTOGRAPHY Department of Mathematical and Computational Sciences University of Toronto, Mississauga February 27, 2013 Mid-term Exam INSTRUCTIONS: The duration of the exam is 100 minutes.
More informationSECURITY OF CRYPTOGRAPHIC SYSTEMS. Requirements of Military Systems
SECURITY OF CRYPTOGRAPHIC SYSTEMS CHAPTER 2 Section I Requirements of Military Systems 2-1. Practical Requirements Military cryptographic systems must meet a number of practical considerations. a. b. An
More informationRSA hybrid encryption schemes
RSA hybrid encryption schemes Louis Granboulan École Normale Supérieure Louis.Granboulan@ens.fr Abstract. This document compares the two published RSA-based hybrid encryption schemes having linear reduction
More informationNetwork Security: Secret Key Cryptography
1 Network Security: Secret Key Cryptography Henning Schulzrinne Columbia University, New York schulzrinne@cs.columbia.edu Columbia University, Fall 2000 cfl1999-2000, Henning Schulzrinne Last modified
More informationWilson s Theorem and Fermat s Theorem
Wilson s Theorem and Fermat s Theorem 7-27-2006 Wilson s theorem says that p is prime if and only if (p 1)! = 1 (mod p). Fermat s theorem says that if p is prime and p a, then a p 1 = 1 (mod p). Wilson
More informationComparison of Visual Cryptographic Algorithms for Quality Images Using XOR
Comparison of Visual Cryptographic Algorithms for Quality Images Using XOR Sathiya K 1, Senthamilarasi K 2, Janani G 3, Akila victor 4 1,2,3 B.Tech CSE, VIT University, Vellore-632014. 4 Assistant Professor,
More informationSolutions to Problem Set 6 - Fall 2008 Due Tuesday, Oct. 21 at 1:00
18.781 Solutions to Problem Set 6 - Fall 008 Due Tuesday, Oct. 1 at 1:00 1. (Niven.8.7) If p 3 is prime, how many solutions are there to x p 1 1 (mod p)? How many solutions are there to x p 1 (mod p)?
More informationRSA hybrid encryption schemes
RSA hybrid encryption schemes Louis Granboulan École Normale Supérieure Louis.Granboulan@ens.fr Abstract. This document compares the two published RSA-based hybrid encryption schemes having linear reduction
More information