Design and Security Analysis on Several Cryptography Hash Functions
- Author
- ZhangShaoLan
- Advisor
- YangYiXian
- School
- Beijing University of Posts and Telecommunications
- Major
- Cryptography
- Classification
- TN918.1 Theory
- Degree
- Doctoral dissertation
- Year
- 2011
- Downloads
- 330
- Citations
- 0
- Hash functions
- Merkle-Damgard
- constructiondifferential analysis
- Block cipher
- MESSAGE
- Authentication
- codeauthenticated encryption with associated data
Abstract
Cryptography hash functions are used to map messages of arbitrary length to fixed-length message digests which are also called hash values. Collision resistance, preimage resistance and second-preimage resistance are the three classical requirements for security of keyless hash functions. Hash functions play important roles in modern cryptography and are widely used in data integrity and entity authentication. Hash functions also guarantee securities of cryptographic schemes and protocols, such as digital signature and message authentication code. Cryptography hash functions can be divided into keyless hash functions and key hash functions, the later are also called message authentication code. Most of hash functions are constructed by iterating compression function via Merkle-Damgard construction. We analyze the general attack method and the improved schemes on MD hash functions, and propose a domain extension scheme for MD hash functions and a suffix-free message padding method for MD construction hash functions. We provide MPMAC scheme by improving PMAC mode of operation, and analyze its security. By using the collision resistance of hash function, we propose an authenticated encryption scheme with associated data. The main contributions of this paper are as follows.(1) The research actuality on design and security analysis of hash functions is reviewed. The security requirements, analysis method and applications of cryptographic hash functions are described. The design and security analysis on keyless hash functions is introduced from three types of constructions:constructions based on block ciphers, based on modular arithmetic and dedicated hash functions. Three types of constructions for MAC algorithms are introduced:constructions based on block ciphers, based on hash functions and based on universal hash functions.(2) We have discussed the collision attacks on some dedicated hash functions such as M5, SHA-0and DHA-256. We research the impact of message pre-processing on the resistibility of collision attacks on MD5and propose an improved method for the step function of MD5. We analyze the process of collision attack of SHA-0and find the flaw of message extension of SHA-0. For DHA-256, we correct a9-step local collision mode.(3) Merkle-Damgard construction is widely used to design hash functions. We analyze the general attack method and the corresponding improved schemes on Merkle-Damgard construction hash functions occur recently. Duing to the message extension attack on Merkle-Damgard construction, Coron etal. proposed four constructions that provably satisfy random oracle preserving to improve Merkle-Damgard construction. However, Mihir Bellare etal. prove by an example that they are not collision resistant even if the compression function is collision resistant. So, we modify the construction of prefix-free encoding and give a new domain extension construction. We apply the prefix-free encoding and padding with length strengthening to the Merkle-Damgard construction so that the result hash function is collision-resistance preserving, pseudorandom function preserving and pseudorandom oracle preserving.(4) Hash functions can be used to compress messages of arbitrary length to fixed-length message digests. In order to create a hash function that accepts messages of variable lengths, messages are padded such that the length of padded message is multiple of the length of input message of compress function. We research the padding rules of Merkle-Damgard hash functions and provide a suffix-free length encoding padding rule to the iterated construction hash function to present an efficient new hash transform. It makes sure that every block input to the compression function has at least μ bits of a message which is proposed by Yasuda. We modify the method of padding a bits binary representation of message length so as to save the size of padded bits and as a result the hash function may be faster than usual padding rule owing to the reduction of cost of invocations of the underlying compression function.(5) PMAC is a parallelizable block-cipher mode of operation for message authentication which does not need a random value. According to the forgery attack on PMAC with random message proposed by Lee Changhoon et al. the weakness of mode of operation is found. A modified parallelizable message authentication code (MPMAC) is proposed. The mode to process the last block of message is improved to avoid the forgery attack with random message by using the fact that the block cipher has same output with the same input using one key. We process the last block with different method according to whether or not it need to be padded and avoid the fact that when the length of message is multiple of block length the mode need to call an additional block cipher. Its security is proved with game playing technique by quantifying the advantage of distinguishing message authentication code from the random function in terms of the quality of the block cipher as a pseudo-random permutation.(6) OCB is believed to provide extremely high protection with encryption and message authentication in a most efficient way. However, when OCB mode of operation is used to handle large amount of data, it is easy to find collision so that the mode will lose the authenticity capability with probability one. The adversary can modify ciphertexts and the plaintexts; however the result of xor operation of plaintexts is not changed, so the checksum is the same as before. We modify the checksum by mixing the value of offset and the index of messages. By introducing the random element the exchangeability of messages in checksum is destroyed and the authentication capability is preserved once collision occurs. We propose a scheme of authenticated encryption with associated data (AEAD) by combining a collision resistant hash function with an authenticated encryption scheme. Hash function is used to compress an arbitrary length associated data which need to be authenticated but not to be encrypted to a new fixed length nonce in AEAD scheme. The authenticated encryption scheme is designed by improving OCB mode of operation. Since the collision resistant hash function has no secret key the provided AEAD scheme uses only one key and provides authentication and privacy.
Table of contents
Summary 5-8
ABSTRACT 8-15
first chapter 15-29
1.1 Significance 15-16
1.2 current research status and background Hash functions 16-25
1.2.1 without key 17-20
1.2.2 message Authentication Code 20-23
1.2.3 NIST solicitation new Hash function 23-25 ??
contents of this paper and the main results 1.3 25-28
1.4 article organizational structure 28-29
Chapter II cryptology Hash functions Overview 29-41
defined 2.1 Hash functions 29-30
2.2 Hash function security features in cryptography 30-33
design method 2.3 Hash functions 33-36
2.3.1 Hash functions without a key design 33-35
2.3.2 message Authentication Code design 35-36
analysis 2.4 Hash functions 36-38
applications 2.5 Hash functions 38-40
2.6 Summary 40-41
the third chapter analyzes of special Hash functions 41-64
3.1 pairs of MD5 collision attack 41-49
brief description 3.1.1 MD5 algorithm 41-42
3.1.2 attacks against MD5 42-43
3.1 .3 MD5 collision attack analysis of 43-46
3.1.4 MD5 message pretreatment on resistance to impact collision attacks 46-47
3.1.5 for MD5 step function the improved design 47-49
3.2对SHA-0 collision attack 49-60
3.2.1 Brief description SHA-0 algorithm 49-50
3.2.2 partial SHA-0 collision 50-53
3.2.3 collision attack on SHA-0 differential characteristics 53-60
3.3 for DHA -256 attacks analysis 60-63
3.3.1 DHA-256 is a simple description 60-61
3.3.2 local collision mode DHA-256 is 61-63
3.3.3 Reflections on the DHA-256 is 63
3.4 Summary 63-64
the fourth chapter analyzes the structure of MD Hash functions and design 64-91
4.1 Merkle-Damgard iterative structure 64-66
4.1.1 symbol Description 64-65
4.1.2 Merkle- Damgard (MD) transform 65
4.1.3 strengthened Merkle-Damgard transform 65-66
4.2 general-purpose attack MD structure Hash functions 66-68
4.2.1 multi- collision attack (Multicolli sions) 66-67
4.2.2 of animal husbandry attack (Herding Attack) 67
4.2.3 length extension attack (Length Extension) 67
4.2.4 fixed -point attack 67-68
4.2.5 long message second preimage attack 68
4.3 MD iterative improvements to the structure 68-76
4.3.1 Wide Pipe iterative structure 68-69
4.3.2 NMAC, HMAC iterative structure 69-70
4.3.3 multi-attribute inheritance transform 70-72
4.3.4 randomized Hash 72
4.3.5 3C and 3C structure 72 -73
4.3.6 HAIFA 73-74
4.3.7 Random Oracle -based structure Merkle-Damgard of 74-76
4.4 Hash function domain fill rule 76-78
4.4.1 Merkle and Damgard fill rule 77
4.4.2 Nandi a fill rule 77
4.4.3 Split padding rule 77-78
4.5 , an improved way of filling the suffix coding 78-80
4.5.1 improved MD suffix coding structure filled way 78 - 79
4.5.2 security Analysis 79-80
4.6 A prefix coding domain expansion mode 80-83
4.6.1 security definitions 81-82
4.6.2 new prefix code domain extension mode 82-83
4.6.3 security Analysis 83
4.7 PGV scheme security analysis 83-89
4.7.1 PGV compression function security analysis 84-86
4.7.2 Coron 's RO safety analysis 86-87
4.7.3 prefix encoding scheme indistinguishable analysis 87-89
4.8 Summary 89-91
Chapter MPMAC and security analysis 91-100
5.1 PMAC algorithm description 91-92
5.2对PMAC random message forgery attack 92-93
5.3 PMAC improved model : MPMAC 93
5.4 MPMAC security proof 93-98
5.5 Summary 98-100
Chapter VI with an authentication -related data encryption scheme 100-110
6.1 mode with encryption and authentication features 100-101
6.2对OCB mode collision attack 101-104 <br / > 6.2.1 OCB mode 101-103
6.2.2 collision attack on OCB 103-104
6.3 AEAD an effective program 104-107 security analysis
6.4 AEAD programs 107-109
6.5 Summary 109-110
Conclusion 110-112
References 112-125
authors published during the PhD dissertation project 125-126
author during the PhD participation 126-127 <br / > Thanks 127
Related dissertations
- Cryptanalysis of Block Ciphers and Hash Function Based on Grover’s Quantum Search Algorithms
- Research and Design of Hash Functions
- Research on Chaotic Dynamic S-Box Based Cryptography and Its Applications
- Research on Cryptographic Hash Functions
- Analysis and Design of Hash Function
- The Research and Application on Message Data Integrity Authentication Based on Block Cipher
- The Comparison and Enlightenment of Intermediate Business Income of Chinese and Foreign Commercial Banks
- Research on Enterprises’Financial Management Capability System Establishment and Certification in China
- Authentication and Authorization Design in Social Media Website
- Research on grid security technology of Portal
- Research on An Attribute-based Access Control Scheme in Cloud Computing
- Design of Identity Management Platform Based on SML-RBAC
- Study on the Key Technologies of Energy Self-sufficiency Low-power Active Tags
- Research on Key Techniques of Image Perceptual Hashing
- Identity authentication and identification based on Biometrics
- Context and Role Based Dynamic Access Control in Distributed Healthcare Information Systems
- Design and Realization of Online-Bank Based on the Public Key Infrastructure
- Research on the Application of Power Marketing System Based on Mobile Platforms
- Research and Implementation of Authentication Platform for Administration for Industry and Commerce Business Systems Based on RA
- Implicit Authentication on Mobile Devices