hash函數(shù)設計.doc
約50頁DOC格式手機打開展開
hash函數(shù)設計,4.1萬字49頁 有設計程序代碼摘 要為了抵御新的密碼攻擊手段,美國國家標準與技術研究所(nist)在2002年5月26日建立了新的高級數(shù)據(jù)加密標準(aes)規(guī)范,它代替了des,成為新的數(shù)據(jù)加密標準。本課題設計目標就是:應用密碼學技術,使計算機網(wǎng)絡中的通信更為安全。具體來說分兩部分:第一,應用aes算法對通信內(nèi)容進行...
內(nèi)容介紹
此文檔由會員 space 發(fā)布
4.1萬字 49頁 有設計程序代碼
摘 要
為了抵御新的密碼攻擊手段,美國國家標準與技術研究所(NIST)在2002年5月26日建立了新的高級數(shù)據(jù)加密標準(AES)規(guī)范,它代替了DES,成為新的數(shù)據(jù)加密標準。本課題設計目標就是:應用密碼學技術,使計算機網(wǎng)絡中的通信更為安全。具體來說分兩部分:第一,應用AES算法對通信內(nèi)容進行加密,使接收方可以利用公用密鑰對密文進行解密。第二,利用HASH函數(shù)驗證傳輸?shù)膬?nèi)容有沒有被篡改。通過AES算法的應用,可以對通信數(shù)據(jù)進行加密解密,從而提高信息傳輸?shù)陌踩裕煌ㄟ^HASH函數(shù)的應用,可以進一步驗證傳輸內(nèi)容的可靠性,從而避免在傳輸過程中可能發(fā)生的偽造和欺騙問題。經(jīng)過計算與測試這種新的hash函數(shù)具有很好的散列性、混亂與擴散特性和抗沖突性,能有效的抵御差分密碼分析和線性密碼分析,且具有很快的執(zhí)行速度。
關鍵詞:數(shù)據(jù)加密標準;高級加密標準;安全散列算法;Winsock通信;單向函數(shù)
目 錄
第一章 緒論
第二章 密碼學概述
第三章 基于AES算法的HASH函數(shù)的設計
3.1 基于AES算法的HASH函數(shù)的構(gòu)造
3.1.1 AES加密/解密原理圖
3.1.2 構(gòu)造哈希函數(shù)的算法和原理圖
3.2 基于AES算法的HASH函數(shù)的程序設計
3.2.1 Visual C++與VC6.0
3.2.2 HASH函數(shù)的程序設計
3.2.3 加密解密測試
3.3 HASH函數(shù)的各項性能分析
3.3.1 散列性
3.3.2 混亂和擴散特性
3.3.3 抗沖突性
3.3.4 執(zhí)行速度
第四章 基于AES算法的HASH函數(shù)的應用
4.1 Winsock簡介
4.2 客戶機/服務器模式
4.3 用Winsock通信實現(xiàn)HASH函數(shù)的傳輸
4.3.1服務器端操作 socket(套接字)
4.3.2客戶端Socket的操作
4.3.3數(shù)據(jù)的傳輸
結(jié)束語
致 謝
參考文獻
附 錄
ABSTRACT
Abstract: Along with the password attack method unceasing renewal, the computation ability unceasing enhancement as well as to the operating speed request, the tradition disperses row algorithm MD5, SHA has demonstrated their shortcoming and the insufficiency day by day, and the
structure of hash function is mostly based on block cipher algorithm DES, but the HASH function security is established above the grouping function security, because the DES operand is very big, the operating speed very slowly by and its itself some characteristics (weak key), therefore disperses a row function based on the DES algorithm to have potential unsecurity. In order to enhance the Hash function performance, this article structure one kind based on the AES HASH function, this HASH function has dispersed a row result the length is 256 bits, may the very good defense exhaustion attack. After calculates and tests this kind of new HASH function to have very good disperses a row nature, is chaotic and the diffusion properties and the anti- conflict, can the effective resistance difference cryptanalysis and the linear cryptanalysis, also has very quickly speed.
Key words: Data encryption standard; Advanced encryption standard;Rijndael; The security disperses a row algorithm; Winsockc orrespondence; Unidirectional function
摘 要
為了抵御新的密碼攻擊手段,美國國家標準與技術研究所(NIST)在2002年5月26日建立了新的高級數(shù)據(jù)加密標準(AES)規(guī)范,它代替了DES,成為新的數(shù)據(jù)加密標準。本課題設計目標就是:應用密碼學技術,使計算機網(wǎng)絡中的通信更為安全。具體來說分兩部分:第一,應用AES算法對通信內(nèi)容進行加密,使接收方可以利用公用密鑰對密文進行解密。第二,利用HASH函數(shù)驗證傳輸?shù)膬?nèi)容有沒有被篡改。通過AES算法的應用,可以對通信數(shù)據(jù)進行加密解密,從而提高信息傳輸?shù)陌踩裕煌ㄟ^HASH函數(shù)的應用,可以進一步驗證傳輸內(nèi)容的可靠性,從而避免在傳輸過程中可能發(fā)生的偽造和欺騙問題。經(jīng)過計算與測試這種新的hash函數(shù)具有很好的散列性、混亂與擴散特性和抗沖突性,能有效的抵御差分密碼分析和線性密碼分析,且具有很快的執(zhí)行速度。
關鍵詞:數(shù)據(jù)加密標準;高級加密標準;安全散列算法;Winsock通信;單向函數(shù)
目 錄
第一章 緒論
第二章 密碼學概述
第三章 基于AES算法的HASH函數(shù)的設計
3.1 基于AES算法的HASH函數(shù)的構(gòu)造
3.1.1 AES加密/解密原理圖
3.1.2 構(gòu)造哈希函數(shù)的算法和原理圖
3.2 基于AES算法的HASH函數(shù)的程序設計
3.2.1 Visual C++與VC6.0
3.2.2 HASH函數(shù)的程序設計
3.2.3 加密解密測試
3.3 HASH函數(shù)的各項性能分析
3.3.1 散列性
3.3.2 混亂和擴散特性
3.3.3 抗沖突性
3.3.4 執(zhí)行速度
第四章 基于AES算法的HASH函數(shù)的應用
4.1 Winsock簡介
4.2 客戶機/服務器模式
4.3 用Winsock通信實現(xiàn)HASH函數(shù)的傳輸
4.3.1服務器端操作 socket(套接字)
4.3.2客戶端Socket的操作
4.3.3數(shù)據(jù)的傳輸
結(jié)束語
致 謝
參考文獻
附 錄
ABSTRACT
Abstract: Along with the password attack method unceasing renewal, the computation ability unceasing enhancement as well as to the operating speed request, the tradition disperses row algorithm MD5, SHA has demonstrated their shortcoming and the insufficiency day by day, and the
structure of hash function is mostly based on block cipher algorithm DES, but the HASH function security is established above the grouping function security, because the DES operand is very big, the operating speed very slowly by and its itself some characteristics (weak key), therefore disperses a row function based on the DES algorithm to have potential unsecurity. In order to enhance the Hash function performance, this article structure one kind based on the AES HASH function, this HASH function has dispersed a row result the length is 256 bits, may the very good defense exhaustion attack. After calculates and tests this kind of new HASH function to have very good disperses a row nature, is chaotic and the diffusion properties and the anti- conflict, can the effective resistance difference cryptanalysis and the linear cryptanalysis, also has very quickly speed.
Key words: Data encryption standard; Advanced encryption standard;Rijndael; The security disperses a row algorithm; Winsockc orrespondence; Unidirectional function