Developing and Investigation of a New Technique Combining Message Authentication and Encryption
|
|
|
- Rafe Dennis
- 10 years ago
- Views:
Transcription
1 Developing and Investigation of a New Technique Combining Message Authentication and Encryption Eyas El-Qawasmeh and Saleem Masadeh Computer Science Dept. Jordan University for Science and Technology P.O. Box 3030, Irbid 22110, Jordan Abstrac:- This paper describes a new method for authenticating and encrypting messages. Our method employs any encryption algorithm as underlying block cipher. Proposed algorithm uses two key values, first key for the underlying encryption algorithm, and the second key for the new mode. The proven security describes the attacker inability to forge the new Encryption-Authentication algorithm, in terms of his (presumed) inability to break the underlying random S-box, the second key, and the underlying encryption function. Keyword. Encryption, authentication, CBC, MAC. 1. Introduction Encryption is used to insure privacy of data that is to possess data secret from public people other than its recipients. On the other hand, message authentication allows two participants sharing the key K to authenticate any transmissions between them. Message authentication is done by including a short string called "Message Authentication Code" (MAC) with every transmitted message. The most dominant MAC is the "Cipher Block Chaining Message Authentication Code" (CBC MAC) which is stated in the International Standard ISO 9797 [1] and the U.S. Standard ANSI X9.9 [2]. In latest years, cryptographic hash has appeared, and became dominant. The aim of the current work is to introduce a new technique, which has certain competence and safety measures advantages. New scheme is very simple that it is appear to believe one can with no trouble become aware of how to attack it. The success probability of the attacker in the new mode of operation is separate of the messages lengths. While the attacks of [3, 4] show that the success probability of the adversary in the CBC scheme increases linearly with the message length. The organization of this paper will be as follows: section 2 is the proposed algorithm. Section 3 is performance analysis, and finally, section 4 is conclusions. 2. Proposed algorithm Suppose a message M to be sent from one node of a network to another node. Proposed mode uses symmetric key setting, which represents a mapping from three-tuple input (message, key, S-box) to a binary decision; message authentic or not. Following are some terms and concepts that are needed in presenting proposed algorithm: Message length: message length in bytes M should be greater than key length K. Message formatting: we assume the length of the message M is equal to M bytes at proposed encryptionauthentication algorithm, and it should be a multiple of 8 bits without padding. A message is viewed as a sequence of 8-bit elements, M = M[1] M[2] M [n]. Block size: proposed algorithm is designed to work with variable block size. It is equal to the key length. For example, if the key K = 2549, then:
2 o Key length = 4 bytes o Key digits are 2, 5, 4, and 9 o Digit size = 8-bits o Block size=4bytes= 8-bit*4=32 bits In the proposed algorithm, the mode will be constructed from three components, which are KS, MAC, and VF. We will denote the MAC as MAC = (KS, MAC, VF) where: Key scheduling (KS). Key scheduling algorithm schedules key value through proposed algorithm execution to generate new key for ciphering each data block. MAC-generation (MAC). MACgeneration inputs the message M є {0, 1}*, and the key K as inputs to MAC function {MAC MAC K (M)}. MAC function will return a MAC є {0, 1}*. MAC-verification (VF). MACverification inputs the shared key K, received message M є {0, 1}*, and shared secret S-box as inputs to MACverification function {D VF (K, M, MAC, S-box)}. Then, MACverification will return either one for acceptance, or zero for rejection. The following section describes the sender role that will be carried on the sender side using proposed algorithm. 2.1 Sender procedure: When a sender needs to transmit his message M to a receiver, he must have all the requirements that enable him preparing his message M for sending. These requirements are: 1. Message M. 2. Shared symmetric key K, which is secret and stored in a file at each side. 3. Substitution box (S-box), which is secret and stored in a file at each side. Proposed algorithm constructs S-box as 2- dimensional array that consists of 255 different values distributed over 15 columns and 17 rows according to one-byte variations. Therefore, each cell in the S-box contains a value between 1 and 255. After retrieving any value, S-box values are shifted left one time from index 0 to the index of retrieved value. Changed S-box will be used at next encryption operation. Figure 2 shows an example of proposed S-box. The following is a description of proposed mode at sender side. Following is a description of the proposed Encryption-Authentication algorithm. Encryption-Authentication (Input: Original message, S-Box, Key; Output: MAC-File, Encrypted-file) Begin 1) Read the secret key K, split it into digits, and stores each digit of it in key-array. 2) Order key-array digits in ascending order, and store them in key-order array. 3) While (! Message.eof ()) { For counter = 1 to key-length { a) Read one byte of the message. b) XOR read byte with the corresponding key digit at the key-array. c) Store the result of the XOR operation in XOR-array. } // End of "For counter = 1 to key-length" loop Order XOR-array based on corresponding key-order array, and store it in ordered-array // MAC generation MAC generation: For each stored value at ordered-array, compute the following: Number of its repetitions from the beginning of the message. Compute the following: P-MAC = Ordered[i] * Ordered [i+1] mod Number of repetition MAC = MAC + P-MAC After finishing all ordered-array values, message tag will be the value of MAC
3 // Ciphertext generation Encrypted message generation: use each stored value at ordered-array as an index to retrieve the value stored in the corresponding S-box index as follow: For each ordered-array[i] value, where i = 1, 2,, M - Encrypted-value = S-box [ordered-array [i]] - Write the value of "Encrypted-value" on Encrypted file. - Rotate stored S-box table values from index 0 to the index of the current ordered-array[i] value. Start key scheduling For I = 1 to key-length -1 {Key-array [i] = (Key-array [i] XOR Key-array [i+1]) + S-box [Key-array[i]]} Key-array [ K ] = Key-array [0] XOR Key-array [ K ] + S-box [Key-array[i]] } // End while (Message.eof) loop 4) Key replacement: use the last scheduled key digits as indices to S-box table to replace the current key-array values as follow. For d = 1 to key-length Key-array[d] = S-box [Key-array[d]] New key digits will be used for encrypting and authenticating next message using the proposed algorithm. 5) Send original message with the corresponding MAC value to the receiver. END // End of encryption-authentication process Example: Suppose the sender wants to send a message M = "Standard" to the receiver. The sender will use a randomly key K ="14Sd7rgw and random S-box that will be shown at figure 2: Figure 1: Random generated S-box The following explanation shows how the sender will encrypt and authenticate the message M. Message M = "Standard" The key K = "14Sd7rgw" First message block: "Standard" Key elements: 1 4 S d 7 r g w First block in ASCII representation: Key elements in ASCII representation: XOR-ing plaintext bytes with the corresponding key elements: 83 XOR 49 = XOR 52 = XOR 83 = XOR 100 = XOR 55 = XOR 114 = XOR 103 = XOR 119 = 19 XOR-array contents: Key-Order: Ordered array: Generated ciphertext bytes: Encrypted = S-box[98] = 119 Encrypted = S-box[64] = 191 Encrypted = S-box[83] = 161 Encrypted = S-box[50] = 72 Encrypted = S-box[10] = 19 Encrypted = S-box[21] = 77 Encrypted = S-box[19] = 182 Encrypted = S-box[19] = 148 MAC computation: Compute = 98 * 64 mod = 153 MAC = = 153 Compute = 64 * 83 mod = 213 MAC = = 366
4 Compute = 83 * 50 mod = 71 MAC = = 437 Compute = 50 * 10 mod = 246 MAC = = 683 Compute = 10 * 21 mod =211 MAC = = 894 Compute = 21 * 19 mod = 145 MAC = = 1039 Compute = 19 * 19 mod = 107 MAC = = 1146 Compute = 19 * 98 mod = 79 MAC = = 1225 Thus 1225 will be sent to the receiver as generated MAC value. Scheduled key: key[0] = (49 XOR 52 + S-box[49] ) mod 255= 77 key[1] = (52 XOR 83 + S-box[52] ) mod 255= 70 key[2] = (83 XOR S-box[83] ) mod 255= 0 key[3] = (100 XOR 55 + S-box[100] ) mod 255= 193 key[4] = (55 XOR S-box[55] ) mod 255= 95 key[5] = (114 XOR S-box[114] ) mod 255= 164 key[6] = (103 XOR S-box[103] ) mod 255= 141 key[7] = (119 XOR 49 + S-box[119] ) mod 255= 161 Key replacement: Key-array[0]=S-box[77]=181 Key-array[1]= S-box[70] = 171 Key-array[2] = S-box[0]=203 Key-array[3]= S-box[193]=189 Key-array[4]= S-box[95]=126 Key-array[5]=S-box[164] =158 Key-array[6] = S-box[141] =28 Key-array[7]= S-box[161]=245 New key that will be used with next message M is: The change that has happened to S-box indices and to key elements presents a fuzzy situation. The key elements that were used for encrypting the first plaintext block are not used for encrypting the second plaintext block. Key scheduling removes any pattern in the message that is to be encrypted. 2.2 Receiver procedure In case of sending plaintext message, the procedure followed by the sender will be followed by receiver with comparing received and computed MAC value. Depending on application, receiver may have to decrypt the received message. Therefore, the receiver procedure will be as follow: Verify (Input: Message, MAC; Output: Verifiable or Not Verifiable ) Begin For I = 0 to M 1. Search S-box values that are found at the receiver side to get the index of 8-bit of the received ciphertext block. 2. Rotate S-box values from index 0 to the retrieved index. 3. Reorder retrieved indices corresponding to the key digits order. 4. XOR each key digit with the corresponding retrieved index value message. Next I End 3. Performance analysis A comparison between CBC-MAC (with DES and Triple DES (TDES) as underlying encryption algorithms) and the proposed algorithm that focuses on MAC value generation will be presented. The points that we will investigate are: 3.1 MAC generation, (before or after encryption) There were deep deliberations whether it is better to MAC the plaintext or the ciphertext. Krawczyk and Bellare Namprempre suggested applying encryption, followed by authenticating the ciphertext, which is called Encrypt Then Authenticate (ETA) [8, 9]; it was secure all the time. However, authentication before encryption of the plaintext might not be secure, even if the encryption and authentication algorithms were independently secure [8, 9]. In the CBC-DES, CBC-TDES, and the proposed algorithm, the use of encryption followed by message
5 integrity function will keep the previous mentioned advantages. 3.2 Execution time experiment The first experiment will be execution time measure of CBC-DES, CBC-TDES, and the proposed algorithm to generate MAC value and ciphertext. CBC-DES, CBC-TDES, and the proposed algorithm will be tested under windows 98 operating system. Performance test will be performed on a personal computer (PC), which is equipped with Pentium III CPU (550 MHZ) and 256 MB of RAM. Visual C++ was used to implement these three algorithms. MAC generation will be executed on 1MB text file. In DES, key and IV size (Initialization Vector) are 64-bit each. TDES will use three keys with 64-bit size each. The proposed algorithm will use a key of 64-bit size. Table 1 shows the results of execution time experiment. This time represents the time that a CPU spends completing necessary calculations for the three algorithms, and I/O operation. Encryption time for in the CBC-DES and CBC-TDES does not include "Convert-To- Binary" time. In addition, these results are normalized to CBC-DES processing time. Table 1: CPU execution time (seconds) Encrypting and MAC Generation File size CBC- CBC- Proposed DES TDES Algorithm 0.5 MB MB MB The results from the Table 1 show that the proposed algorithm is faster than CBC-TDES, and slower than CBC-DES. Because CBC- TDES calls DES algorithm three times. Moreover, these results show that the proposed algorithm, CBC-DES, and CBC-TDES are scalable. Besides algorithm structure, execution time is affected by key length. Key length effect happens when running the same algorithm without any change to its internal structure, using different key lengths. In the proposed algorithm, there is a small change in time needed to run the proposed algorithm with an increase in a key length. Figure 2 shows an increase in key length by power of two with a little decrease in execution time, because we process a large data size each time rather than dealing with small block size. This figure uses a 1MB file. Execution time (seconds) Key length (bits) Figure 2: Key length effect However, for CBC-DES algorithm and other encryption algorithm algorithms, running the same algorithm with different key lengths means a change in the algorithm structure and coding. 3.3 Key recovery attacks Key recovery attack is based on trying all key values on few Message/MAC pairs to generate MAC values, then comparing all generated MAC's with message/mac pair until the correct key is founded. In any message authentication scheme that uses a specified key length, this type of attack is theoretically possible. Such schemes are CBC-DES and CBC-TDES. However, if we take into account the required time and memory space, we need a lot of effort and highly equipped computers for this approach. The proposed algorithm does not limit key space and makes it applicationdependant. However, it is preferred to be equal to the least message size used by the application. Therefore, previous explanations are theoretically valid for the proposed algorithm. However, the following reasons provide a resistance proof against key recovery attack: 1. The use of rotated secret S-box. 2. The use of long one-time key: trying all key space is not useful. Because after generating MAC for a message, key is changed to new one as lemma 2 explains. 512
6 Table 2 shows the needed key recovery time for the three algorithms; CBC-DES, CBC- TDES, and the proposed algorithm. All of them are assumed to work with an application that deals with messages of 1 MB long at least. Key length at the proposed algorithm is assumed to be 1KB long, 64-bit for CBC-DES, and 64-bit for each key of the three keys used with CBC- TDES. It shows that the time to recover the proposed algorithm key is greater that other algorithms. In addition, MAC size using the proposed algorithm is 256 bits (in this example). Table 2: key recovery time Algorithm Key space Worst attack Time MAC-size CBC-DES * 16.5 Sec * 16.5 Sec 64 bits 128 bits CBC-TDES 3* * 2 64 * 47.8 Sec 64 bits 3* * * 47.8 Sec 128 bits Proposed-algorithm * 47.5 sec > 256 bits 4. Conclusion The design of the proposed algorithm considers speed improvements in the future; therefore, we decided to use large and variable key size. The result was the use of one-time key and variable message-based MAC length. This paper explains the differences between new developed algorithm and CBC. Finally, we listed some extracted properties for the proposed algorithm. NBS Special Publication ; D. Barnstad, Ed; National Bureau of Standards, Washington, D.C., 1977; [7] M. Luby and C. Rackoff. How to Construct Pseudorandom Permutations from Pseudorandom Functions; SIAM J. Comput.; April 1988; 17(2). References [1] ISO / IEC Data cryptographic techniques Data integrity mechanisms using a cryptographic check function employing a block cipher algorithm, [2] ANSI X9.9, American National Standard for Financial Institution Message Authentication (Wholesale), American Bankers Association, Revised [3] Krawczyk H. Personal Communication, September [4] Preneel B, and Van Oorschot P. A new generic attack on message authentication codes. Advances in Cryptology, Crypto 95 Proceedings, Lecture Notes in Computer Science; D. Coppersmith ed; Springer- Verlag; 1995; 963. [5] Campbell, C. Design and specification of cryptographic capabilities. In Computer security and the data encryption standard,
Network Security. Computer Networking Lecture 08. March 19, 2012. HKU SPACE Community College. HKU SPACE CC CN Lecture 08 1/23
Network Security Computer Networking Lecture 08 HKU SPACE Community College March 19, 2012 HKU SPACE CC CN Lecture 08 1/23 Outline Introduction Cryptography Algorithms Secret Key Algorithm Message Digest
Overview of Symmetric Encryption
CS 361S Overview of Symmetric Encryption Vitaly Shmatikov Reading Assignment Read Kaufman 2.1-4 and 4.2 slide 2 Basic Problem ----- ----- -----? Given: both parties already know the same secret Goal: send
The Misuse of RC4 in Microsoft Word and Excel
The Misuse of RC4 in Microsoft Word and Excel Hongjun Wu Institute for Infocomm Research, Singapore [email protected] Abstract. In this report, we point out a serious security flaw in Microsoft
Overview of Cryptographic Tools for Data Security. Murat Kantarcioglu
UT DALLAS Erik Jonsson School of Engineering & Computer Science Overview of Cryptographic Tools for Data Security Murat Kantarcioglu Pag. 1 Purdue University Cryptographic Primitives We will discuss the
CS 758: Cryptography / Network Security
CS 758: Cryptography / Network Security offered in the Fall Semester, 2003, by Doug Stinson my office: DC 3122 my email address: [email protected] my web page: http://cacr.math.uwaterloo.ca/~dstinson/index.html
Secret File Sharing Techniques using AES algorithm. C. Navya Latha 200201066 Garima Agarwal 200305032 Anila Kumar GVN 200305002
Secret File Sharing Techniques using AES algorithm C. Navya Latha 200201066 Garima Agarwal 200305032 Anila Kumar GVN 200305002 1. Feature Overview The Advanced Encryption Standard (AES) feature adds support
6.857 Computer and Network Security Fall Term, 1997 Lecture 4 : 16 September 1997 Lecturer: Ron Rivest Scribe: Michelle Goldberg 1 Conditionally Secure Cryptography Conditionally (or computationally) secure
Message Authentication Code
Message Authentication Code Ali El Kaafarani Mathematical Institute Oxford University 1 of 44 Outline 1 CBC-MAC 2 Authenticated Encryption 3 Padding Oracle Attacks 4 Information Theoretic MACs 2 of 44
Block encryption. CS-4920: Lecture 7 Secret key cryptography. Determining the plaintext ciphertext mapping. CS4920-Lecture 7 4/1/2015
CS-4920: Lecture 7 Secret key cryptography Reading Chapter 3 (pp. 59-75, 92-93) Today s Outcomes Discuss block and key length issues related to secret key cryptography Define several terms related to secret
How To Understand And Understand The History Of Cryptography
CSE497b Introduction to Computer and Network Security - Spring 2007 - Professors Jaeger Lecture 5 - Cryptography CSE497b - Spring 2007 Introduction Computer and Network Security Professor Jaeger www.cse.psu.edu/~tjaeger/cse497b-s07/
Error oracle attacks and CBC encryption. Chris Mitchell ISG, RHUL http://www.isg.rhul.ac.uk/~cjm
Error oracle attacks and CBC encryption Chris Mitchell ISG, RHUL http://www.isg.rhul.ac.uk/~cjm Agenda 1. Introduction 2. CBC mode 3. Error oracles 4. Example 1 5. Example 2 6. Example 3 7. Stream ciphers
Cryptographic hash functions and MACs Solved Exercises for Cryptographic Hash Functions and MACs
Cryptographic hash functions and MACs Solved Exercises for Cryptographic Hash Functions and MACs Enes Pasalic University of Primorska Koper, 2014 Contents 1 Preface 3 2 Problems 4 2 1 Preface This is a
Network Security. Security. Security Services. Crytographic algorithms. privacy authenticity Message integrity. Public key (RSA) Message digest (MD5)
Network Security Security Crytographic algorithms Security Services Secret key (DES) Public key (RSA) Message digest (MD5) privacy authenticity Message integrity Secret Key Encryption Plain text Plain
CIS433/533 - Computer and Network Security Cryptography
CIS433/533 - Computer and Network Security Cryptography Professor Kevin Butler Winter 2011 Computer and Information Science A historical moment Mary Queen of Scots is being held by Queen Elizabeth and
159.334 Computer Networks. Network Security 1. Professor Richard Harris School of Engineering and Advanced Technology
Network Security 1 Professor Richard Harris School of Engineering and Advanced Technology Presentation Outline Overview of Identification and Authentication The importance of identification and Authentication
ETSI TS 102 176-2 V1.2.1 (2005-07)
TS 102 176-2 V1.2.1 (2005-07) Technical Specification Electronic Signatures and Infrastructures (ESI); Algorithms and Parameters for Secure Electronic Signatures; Part 2: Secure channel protocols and algorithms
Message Authentication Codes
2 MAC Message Authentication Codes : and Cryptography Sirindhorn International Institute of Technology Thammasat University Prepared by Steven Gordon on 28 October 2013 css322y13s2l08, Steve/Courses/2013/s2/css322/lectures/mac.tex,
How To Encrypt With A 64 Bit Block Cipher
The Data Encryption Standard (DES) As mentioned earlier there are two main types of cryptography in use today - symmetric or secret key cryptography and asymmetric or public key cryptography. Symmetric
Dr. Jinyuan (Stella) Sun Dept. of Electrical Engineering and Computer Science University of Tennessee Fall 2010
CS 494/594 Computer and Network Security Dr. Jinyuan (Stella) Sun Dept. of Electrical Engineering and Computer Science University of Tennessee Fall 2010 1 Introduction to Cryptography What is cryptography?
Designing Hash functions. Reviewing... Message Authentication Codes. and message authentication codes. We have seen how to authenticate messages:
Designing Hash functions and message authentication codes Reviewing... We have seen how to authenticate messages: Using symmetric encryption, in an heuristic fashion Using public-key encryption in interactive
Cryptography and Network Security
Cryptography and Network Security Spring 2012 http://users.abo.fi/ipetre/crypto/ Lecture 3: Block ciphers and DES Ion Petre Department of IT, Åbo Akademi University January 17, 2012 1 Data Encryption Standard
Lecture 9 - Message Authentication Codes
Lecture 9 - Message Authentication Codes Boaz Barak March 1, 2010 Reading: Boneh-Shoup chapter 6, Sections 9.1 9.3. Data integrity Until now we ve only been interested in protecting secrecy of data. However,
Evaluation of the RC4 Algorithm for Data Encryption
Evaluation of the RC4 Algorithm for Data Encryption Allam Mousa (1) and Ahmad Hamad (2) (1) Electrical Engineering Department An-Najah University, Nablus, Palestine (2) Systems Engineer PalTel Company,
Cryptography and Network Security Chapter 3
Cryptography and Network Security Chapter 3 Fifth Edition by William Stallings Lecture slides by Lawrie Brown (with edits by RHB) Chapter 3 Block Ciphers and the Data Encryption Standard All the afternoon
Cryptography: Motivation. Data Structures and Algorithms Cryptography. Secret Writing Methods. Many areas have sensitive information, e.g.
Cryptography: Motivation Many areas have sensitive information, e.g. Data Structures and Algorithms Cryptography Goodrich & Tamassia Sections 3.1.3 & 3.1.4 Introduction Simple Methods Asymmetric methods:
Authentication and Encryption: How to order them? Motivation
Authentication and Encryption: How to order them? Debdeep Muhopadhyay IIT Kharagpur Motivation Wide spread use of internet requires establishment of a secure channel. Typical implementations operate in
CSC474/574 - Information Systems Security: Homework1 Solutions Sketch
CSC474/574 - Information Systems Security: Homework1 Solutions Sketch February 20, 2005 1. Consider slide 12 in the handout for topic 2.2. Prove that the decryption process of a one-round Feistel cipher
The Order of Encryption and Authentication for Protecting Communications (Or: How Secure is SSL?)
The Order of Encryption and Authentication for Protecting Communications (Or: How Secure is SSL?) Hugo Krawczyk Abstract. We study the question of how to generically compose symmetric encryption and authentication
Properties of Secure Network Communication
Properties of Secure Network Communication Secrecy: Only the sender and intended receiver should be able to understand the contents of the transmitted message. Because eavesdroppers may intercept the message,
Modes of Operation of Block Ciphers
Chapter 3 Modes of Operation of Block Ciphers A bitblock encryption function f: F n 2 Fn 2 is primarily defined on blocks of fixed length n To encrypt longer (or shorter) bit sequences the sender must
The Advanced Encryption Standard (AES)
The Advanced Encryption Standard (AES) All of the cryptographic algorithms we have looked at so far have some problem. The earlier ciphers can be broken with ease on modern computation systems. The DES
CSCE 465 Computer & Network Security
CSCE 465 Computer & Network Security Instructor: Dr. Guofei Gu http://courses.cse.tamu.edu/guofei/csce465/ Secret Key Cryptography (I) 1 Introductory Remarks Roadmap Feistel Cipher DES AES Introduction
Chapter 11 Security+ Guide to Network Security Fundamentals, Third Edition Basic Cryptography
Chapter 11 Security+ Guide to Network Security Fundamentals, Third Edition Basic Cryptography What Is Steganography? Steganography Process of hiding the existence of the data within another file Example:
Message Authentication Codes. Lecture Outline
Message Authentication Codes Murat Kantarcioglu Based on Prof. Ninghui Li s Slides Message Authentication Code Lecture Outline 1 Limitation of Using Hash Functions for Authentication Require an authentic
Cryptography and Network Security Chapter 12
Cryptography and Network Security Chapter 12 Fifth Edition by William Stallings Lecture slides by Lawrie Brown (with edits by RHB) Chapter 12 Message Authentication Codes At cats' green on the Sunday he
Talk announcement please consider attending!
Talk announcement please consider attending! Where: Maurer School of Law, Room 335 When: Thursday, Feb 5, 12PM 1:30PM Speaker: Rafael Pass, Associate Professor, Cornell University, Topic: Reasoning Cryptographically
AStudyofEncryptionAlgorithmsAESDESandRSAforSecurity
Global Journal of Computer Science and Technology Network, Web & Security Volume 13 Issue 15 Version 1.0 Year 2013 Type: Double Blind Peer Reviewed International Research Journal Publisher: Global Journals
lundi 1 octobre 2012 In a set of N elements, by picking at random N elements, we have with high probability a collision two elements are equal
Symmetric Crypto Pierre-Alain Fouque Birthday Paradox In a set of N elements, by picking at random N elements, we have with high probability a collision two elements are equal N=365, about 23 people are
Network Security. Modes of Operation. Steven M. Bellovin February 3, 2009 1
Modes of Operation Steven M. Bellovin February 3, 2009 1 Using Cryptography As we ve already seen, using cryptography properly is not easy Many pitfalls! Errors in use can lead to very easy attacks You
Lecture 13: Message Authentication Codes
Lecture 13: Message Authentication Codes Last modified 2015/02/02 In CCA security, the distinguisher can ask the library to decrypt arbitrary ciphertexts of its choosing. Now in addition to the ciphertexts
SECURITY IMPROVMENTS TO THE DIFFIE-HELLMAN SCHEMES
www.arpapress.com/volumes/vol8issue1/ijrras_8_1_10.pdf SECURITY IMPROVMENTS TO THE DIFFIE-HELLMAN SCHEMES Malek Jakob Kakish Amman Arab University, Department of Computer Information Systems, P.O.Box 2234,
Cryptography and Network Security Department of Computer Science and Engineering Indian Institute of Technology Kharagpur
Cryptography and Network Security Department of Computer Science and Engineering Indian Institute of Technology Kharagpur Module No. # 01 Lecture No. # 05 Classic Cryptosystems (Refer Slide Time: 00:42)
On the Security of CTR + CBC-MAC
On the Security of CTR + CBC-MAC NIST Modes of Operation Additional CCM Documentation Jakob Jonsson * jakob [email protected] Abstract. We analyze the security of the CTR + CBC-MAC (CCM) encryption mode.
Lecture 4 Data Encryption Standard (DES)
Lecture 4 Data Encryption Standard (DES) 1 Block Ciphers Map n-bit plaintext blocks to n-bit ciphertext blocks (n = block length). For n-bit plaintext and ciphertext blocks and a fixed key, the encryption
Split Based Encryption in Secure File Transfer
Split Based Encryption in Secure File Transfer Parul Rathor, Rohit Sehgal Assistant Professor, Dept. of CSE, IET, Nagpur University, India Assistant Professor, Dept. of CSE, IET, Alwar, Rajasthan Technical
EXAM questions for the course TTM4135 - Information Security May 2013. Part 1
EXAM questions for the course TTM4135 - Information Security May 2013 Part 1 This part consists of 5 questions all from one common topic. The number of maximal points for every correctly answered question
How To Attack A Block Cipher With A Key Key (Dk) And A Key (K) On A 2Dns) On An Ipa (Ipa) On The Ipa 2Ds (Ipb) On Pcode)
Cryptography and Network Security Chapter 6 Fifth Edition by William Stallings Lecture slides by Lawrie Brown (with edits by RHB) Chapter 6 Block Cipher Operation Many savages at the present day regard
Cryptography and Security
Cunsheng DING Version 3 Lecture 17: Electronic Mail Security Outline of this Lecture 1. Email security issues. 2. Detailed introduction of PGP. Page 1 Version 3 About Electronic Mail 1. In virtually all
Authentication requirement Authentication function MAC Hash function Security of
UNIT 3 AUTHENTICATION Authentication requirement Authentication function MAC Hash function Security of hash function and MAC SHA HMAC CMAC Digital signature and authentication protocols DSS Slides Courtesy
Cryptographic Hash Functions Message Authentication Digital Signatures
Cryptographic Hash Functions Message Authentication Digital Signatures Abstract We will discuss Cryptographic hash functions Message authentication codes HMAC and CBC-MAC Digital signatures 2 Encryption/Decryption
Enhancing Advanced Encryption Standard S-Box Generation Based on Round Key
Enhancing Advanced Encryption Standard S-Box Generation Based on Round Key Julia Juremi Ramlan Mahmod Salasiah Sulaiman Jazrin Ramli Faculty of Computer Science and Information Technology, Universiti Putra
1 Data Encryption Algorithm
Date: Monday, September 23, 2002 Prof.: Dr Jean-Yves Chouinard Design of Secure Computer Systems CSI4138/CEG4394 Notes on the Data Encryption Standard (DES) The Data Encryption Standard (DES) has been
Cryptography and Network Security Block Cipher
Cryptography and Network Security Block Cipher Xiang-Yang Li Modern Private Key Ciphers Stream ciphers The most famous: Vernam cipher Invented by Vernam, ( AT&T, in 1917) Process the message bit by bit
Outline. Computer Science 418. Digital Signatures: Observations. Digital Signatures: Definition. Definition 1 (Digital signature) Digital Signatures
Outline Computer Science 418 Digital Signatures Mike Jacobson Department of Computer Science University of Calgary Week 12 1 Digital Signatures 2 Signatures via Public Key Cryptosystems 3 Provable 4 Mike
Network Security. Chapter 3 Symmetric Cryptography. Symmetric Encryption. Modes of Encryption. Symmetric Block Ciphers - Modes of Encryption ECB (1)
Chair for Network Architectures and Services Department of Informatics TU München Prof. Carle Network Security Chapter 3 Symmetric Cryptography General Description Modes of ion Data ion Standard (DES)
Chapter 17. Transport-Level Security
Chapter 17 Transport-Level Security Web Security Considerations The World Wide Web is fundamentally a client/server application running over the Internet and TCP/IP intranets The following characteristics
Efficient Framework for Deploying Information in Cloud Virtual Datacenters with Cryptography Algorithms
Efficient Framework for Deploying Information in Cloud Virtual Datacenters with Cryptography Algorithms Radhika G #1, K.V.V. Satyanarayana *2, Tejaswi A #3 1,2,3 Dept of CSE, K L University, Vaddeswaram-522502,
TinySec: A Link Layer Security Architecture for Wireless Sensor Networks
TinySec: A Link Layer Security Architecture for Wireless Sensor Networks Chris Karlof, Naveen Sastr, David Wagner Presented By: Tristan Brown Outline Motivation Cryptography Overview TinySec Design Implementation
3-6 Toward Realizing Privacy-Preserving IP-Traceback
3-6 Toward Realizing Privacy-Preserving IP-Traceback The IP-traceback technology enables us to trace widely spread illegal users on Internet. However, to deploy this attractive technology, some problems
CLOUD COMPUTING SECURITY ARCHITECTURE - IMPLEMENTING DES ALGORITHM IN CLOUD FOR DATA SECURITY
CLOUD COMPUTING SECURITY ARCHITECTURE - IMPLEMENTING DES ALGORITHM IN CLOUD FOR DATA SECURITY Varun Gandhi 1 Department of Computer Science and Engineering, Dronacharya College of Engineering, Khentawas,
Overview/Questions. What is Cryptography? The Caesar Shift Cipher. CS101 Lecture 21: Overview of Cryptography
CS101 Lecture 21: Overview of Cryptography Codes and Ciphers Overview/Questions What is cryptography? What are the challenges of data encryption? What factors make an encryption strategy successful? What
Cyber Security Workshop Encryption Reference Manual
Cyber Security Workshop Encryption Reference Manual May 2015 Basic Concepts in Encoding and Encryption Binary Encoding Examples Encryption Cipher Examples 1 P a g e Encoding Concepts Binary Encoding Basics
MAC. SKE in Practice. Lecture 5
MAC. SKE in Practice. Lecture 5 Active Adversary Active Adversary An active adversary can inject messages into the channel Active Adversary An active adversary can inject messages into the channel Eve
SECURITY IN NETWORKS
SECURITY IN NETWORKS GOALS Understand principles of network security: Cryptography and its many uses beyond confidentiality Authentication Message integrity Security in practice: Security in application,
Symmetric Key cryptosystem
SFWR C03: Computer Networks and Computer Security Mar 8-11 200 Lecturer: Kartik Krishnan Lectures 22-2 Symmetric Key cryptosystem Symmetric encryption, also referred to as conventional encryption or single
Provable-Security Analysis of Authenticated Encryption in Kerberos
Provable-Security Analysis of Authenticated Encryption in Kerberos Alexandra Boldyreva Virendra Kumar Georgia Institute of Technology, School of Computer Science 266 Ferst Drive, Atlanta, GA 30332-0765
Application Layer (1)
Application Layer (1) Functionality: providing applications (e-mail, Web service, USENET, ftp etc) providing support protocols to allow the real applications to function properly (e.g. HTTP for Web appl.)
Message Authentication
Message Authentication message authentication is concerned with: protecting the integrity of a message validating identity of originator non-repudiation of origin (dispute resolution) will consider the
Cryptography and Network Security Chapter 11. Fourth Edition by William Stallings
Cryptography and Network Security Chapter 11 Fourth Edition by William Stallings Chapter 11 Message Authentication and Hash Functions At cats' green on the Sunday he took the message from the inside of
Network Security Technology Network Management
COMPUTER NETWORKS Network Security Technology Network Management Source Encryption E(K,P) Decryption D(K,C) Destination The author of these slides is Dr. Mark Pullen of George Mason University. Permission
Table of Contents. Bibliografische Informationen http://d-nb.info/996514864. digitalisiert durch
1 Introduction to Cryptography and Data Security 1 1.1 Overview of Cryptology (and This Book) 2 1.2 Symmetric Cryptography 4 1.2.1 Basics 4 1.2.2 Simple Symmetric Encryption: The Substitution Cipher...
Lecture 9 - Network Security TDTS41-2006 (ht1)
Lecture 9 - Network Security TDTS41-2006 (ht1) Prof. Dr. Christoph Schuba Linköpings University/IDA [email protected] Reading: Office hours: [Hal05] 10.1-10.2.3; 10.2.5-10.7.1; 10.8.1 9-10am on Oct. 4+5,
The Advanced Encryption Standard: Four Years On
The Advanced Encryption Standard: Four Years On Matt Robshaw Reader in Information Security Information Security Group Royal Holloway University of London September 21, 2004 The State of the AES 1 The
Cryptosystems. Bob wants to send a message M to Alice. Symmetric ciphers: Bob and Alice both share a secret key, K.
Cryptosystems Bob wants to send a message M to Alice. Symmetric ciphers: Bob and Alice both share a secret key, K. C= E(M, K), Bob sends C Alice receives C, M=D(C,K) Use the same key to decrypt. Public
Cryptography and Network Security Chapter 15
Cryptography and Network Security Chapter 15 Fourth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 15 Electronic Mail Security Despite the refusal of VADM Poindexter and LtCol North
Effective Secure Encryption Scheme [One Time Pad] Using Complement Approach Sharad Patil 1 Ajay Kumar 2
Effective Secure Encryption Scheme [One Time Pad] Using Complement Approach Sharad Patil 1 Ajay Kumar 2 Research Student, Bharti Vidyapeeth, Pune, India [email protected] Modern College of Engineering,
Secure Network Communication Based on Text-to-Image Encryption
Secure Network Communication Based on Text-to-Image Encryption Ahmad Abusukhon 1, Mohamad Talib 2, Issa Ottoum 3 1 IT Faculty, - Computer Network Department Al-Zaytoonah University of Jordan Amman, JORDAN
Fundamentals of Computer Security
Fundamentals of Computer Security Spring 2015 Radu Sion Intro Encryption Hash Functions A Message From Our Sponsors Fundamentals System/Network Security, crypto How do things work Why How to design secure
A Study of New Trends in Blowfish Algorithm
A Study of New Trends in Blowfish Algorithm Gurjeevan Singh*, Ashwani Kumar**, K. S. Sandha*** *(Department of ECE, Shaheed Bhagat Singh College of Engg. & Tech. (Polywing), Ferozepur-152004) **(Department
Sandeep Mahapatra Department of Computer Science and Engineering PEC, University of Technology [email protected]
Computing For Nation Development, March 10 11, 2011 Bharati Vidyapeeth s Institute of Computer Applications and Management, New Delhi A Comparative Evaluation of Various Encryptions Techniques Committing
A PPENDIX G S IMPLIFIED DES
A PPENDIX G S IMPLIFIED DES William Stallings opyright 2010 G.1 OVERVIEW...2! G.2 S-DES KEY GENERATION...3! G.3 S-DES ENRYPTION...4! Initial and Final Permutations...4! The Function f K...5! The Switch
Network Security CS 5490/6490 Fall 2015 Lecture Notes 8/26/2015
Network Security CS 5490/6490 Fall 2015 Lecture Notes 8/26/2015 Chapter 2: Introduction to Cryptography What is cryptography? It is a process/art of mangling information in such a way so as to make it
CRYPTOGRAPHY IN NETWORK SECURITY
ELE548 Research Essays CRYPTOGRAPHY IN NETWORK SECURITY AUTHOR: SHENGLI LI INSTRUCTOR: DR. JIEN-CHUNG LO Date: March 5, 1999 Computer network brings lots of great benefits and convenience to us. We can
A Comparative Study Of Two Symmetric Encryption Algorithms Across Different Platforms.
A Comparative Study Of Two Symmetric Algorithms Across Different Platforms. Dr. S.A.M Rizvi 1,Dr. Syed Zeeshan Hussain 2 and Neeta Wadhwa 3 Deptt. of Computer Science, Jamia Millia Islamia, New Delhi,
A New Efficient Digital Signature Scheme Algorithm based on Block cipher
IOSR Journal of Computer Engineering (IOSRJCE) ISSN: 2278-0661, ISBN: 2278-8727Volume 7, Issue 1 (Nov. - Dec. 2012), PP 47-52 A New Efficient Digital Signature Scheme Algorithm based on Block cipher 1
Ky Vu DeVry University, Atlanta Georgia College of Arts & Science
Ky Vu DeVry University, Atlanta Georgia College of Arts & Science Table of Contents - Objective - Cryptography: An Overview - Symmetric Key - Asymmetric Key - Transparent Key: A Paradigm Shift - Security
Cryptography and Network Security Prof. D. Mukhopadhyay Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur
Cryptography and Network Security Prof. D. Mukhopadhyay Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Module No. #01 Lecture No. #10 Symmetric Key Ciphers (Refer
First Semester Examinations 2011/12 INTERNET PRINCIPLES
PAPER CODE NO. EXAMINER : Martin Gairing COMP211 DEPARTMENT : Computer Science Tel. No. 0151 795 4264 First Semester Examinations 2011/12 INTERNET PRINCIPLES TIME ALLOWED : Two Hours INSTRUCTIONS TO CANDIDATES
Symmetric Crypto MAC. Pierre-Alain Fouque
Symmetric Crypto MAC Pierre-Alain Fouque Birthday Paradox In a set of D elements, by picking at random D elements, we have with high probability a collision two elements are equal D=365, about 23 people
Overview. SSL Cryptography Overview CHAPTER 1
CHAPTER 1 Note The information in this chapter applies to both the ACE module and the ACE appliance unless otherwise noted. The features in this chapter apply to IPv4 and IPv6 unless otherwise noted. Secure
Network Security. HIT Shimrit Tzur-David
Network Security HIT Shimrit Tzur-David 1 Goals: 2 Network Security Understand principles of network security: cryptography and its many uses beyond confidentiality authentication message integrity key
Message authentication and. digital signatures
Message authentication and " Message authentication digital signatures verify that the message is from the right sender, and not modified (incl message sequence) " Digital signatures in addition, non!repudiation
A PERFORMANCE EVALUATION OF COMMON ENCRYPTION TECHNIQUES WITH SECURE WATERMARK SYSTEM (SWS)
A PERFORMANCE EVALUATION OF COMMON ENCRYPTION TECHNIQUES WITH SECURE WATERMARK SYSTEM (SWS) Ashraf Odeh 1, Shadi R.Masadeh 2, Ahmad Azzazi 3 1 Computer Information Systems Department, Isra University,
Lecture 9: Application of Cryptography
Lecture topics Cryptography basics Using SSL to secure communication links in J2EE programs Programmatic use of cryptography in Java Cryptography basics Encryption Transformation of data into a form that
CS155. Cryptography Overview
CS155 Cryptography Overview Cryptography Is n A tremendous tool n The basis for many security mechanisms Is not n The solution to all security problems n Reliable unless implemented properly n Reliable
Chapter 8. Network Security
Chapter 8 Network Security Cryptography Introduction to Cryptography Substitution Ciphers Transposition Ciphers One-Time Pads Two Fundamental Cryptographic Principles Need for Security Some people who
