hash函數(shù)設(shè)計(jì).doc
約50頁(yè)DOC格式手機(jī)打開(kāi)展開(kāi)
hash函數(shù)設(shè)計(jì),4.1萬(wàn)字49頁(yè) 有設(shè)計(jì)程序代碼摘 要為了抵御新的密碼攻擊手段,美國(guó)國(guó)家標(biāo)準(zhǔn)與技術(shù)研究所(nist)在2002年5月26日建立了新的高級(jí)數(shù)據(jù)加密標(biāo)準(zhǔn)(aes)規(guī)范,它代替了des,成為新的數(shù)據(jù)加密標(biāo)準(zhǔn)。本課題設(shè)計(jì)目標(biāo)就是:應(yīng)用密碼學(xué)技術(shù),使計(jì)算機(jī)網(wǎng)絡(luò)中的通信更為安全。具體來(lái)說(shuō)分兩部分:第一,應(yīng)用aes算法對(duì)通信內(nèi)容進(jìn)行...
內(nèi)容介紹
此文檔由會(huì)員 space 發(fā)布
4.1萬(wàn)字 49頁(yè) 有設(shè)計(jì)程序代碼
摘 要
為了抵御新的密碼攻擊手段,美國(guó)國(guó)家標(biāo)準(zhǔn)與技術(shù)研究所(NIST)在2002年5月26日建立了新的高級(jí)數(shù)據(jù)加密標(biāo)準(zhǔn)(AES)規(guī)范,它代替了DES,成為新的數(shù)據(jù)加密標(biāo)準(zhǔn)。本課題設(shè)計(jì)目標(biāo)就是:應(yīng)用密碼學(xué)技術(shù),使計(jì)算機(jī)網(wǎng)絡(luò)中的通信更為安全。具體來(lái)說(shuō)分兩部分:第一,應(yīng)用AES算法對(duì)通信內(nèi)容進(jìn)行加密,使接收方可以利用公用密鑰對(duì)密文進(jìn)行解密。第二,利用HASH函數(shù)驗(yàn)證傳輸?shù)膬?nèi)容有沒(méi)有被篡改。通過(guò)AES算法的應(yīng)用,可以對(duì)通信數(shù)據(jù)進(jìn)行加密解密,從而提高信息傳輸?shù)陌踩?;通過(guò)HASH函數(shù)的應(yīng)用,可以進(jìn)一步驗(yàn)證傳輸內(nèi)容的可靠性,從而避免在傳輸過(guò)程中可能發(fā)生的偽造和欺騙問(wèn)題。經(jīng)過(guò)計(jì)算與測(cè)試這種新的hash函數(shù)具有很好的散列性、混亂與擴(kuò)散特性和抗沖突性,能有效的抵御差分密碼分析和線性密碼分析,且具有很快的執(zhí)行速度。
關(guān)鍵詞:數(shù)據(jù)加密標(biāo)準(zhǔn);高級(jí)加密標(biāo)準(zhǔn);安全散列算法;Winsock通信;單向函數(shù)
目 錄
第一章 緒論
第二章 密碼學(xué)概述
第三章 基于AES算法的HASH函數(shù)的設(shè)計(jì)
3.1 基于AES算法的HASH函數(shù)的構(gòu)造
3.1.1 AES加密/解密原理圖
3.1.2 構(gòu)造哈希函數(shù)的算法和原理圖
3.2 基于AES算法的HASH函數(shù)的程序設(shè)計(jì)
3.2.1 Visual C++與VC6.0
3.2.2 HASH函數(shù)的程序設(shè)計(jì)
3.2.3 加密解密測(cè)試
3.3 HASH函數(shù)的各項(xiàng)性能分析
3.3.1 散列性
3.3.2 混亂和擴(kuò)散特性
3.3.3 抗沖突性
3.3.4 執(zhí)行速度
第四章 基于AES算法的HASH函數(shù)的應(yīng)用
4.1 Winsock簡(jiǎn)介
4.2 客戶(hù)機(jī)/服務(wù)器模式
4.3 用Winsock通信實(shí)現(xiàn)HASH函數(shù)的傳輸
4.3.1服務(wù)器端操作 socket(套接字)
4.3.2客戶(hù)端Socket的操作
4.3.3數(shù)據(jù)的傳輸
結(jié)束語(yǔ)
致 謝
參考文獻(xiàn)
附 錄
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
摘 要
為了抵御新的密碼攻擊手段,美國(guó)國(guó)家標(biāo)準(zhǔn)與技術(shù)研究所(NIST)在2002年5月26日建立了新的高級(jí)數(shù)據(jù)加密標(biāo)準(zhǔn)(AES)規(guī)范,它代替了DES,成為新的數(shù)據(jù)加密標(biāo)準(zhǔn)。本課題設(shè)計(jì)目標(biāo)就是:應(yīng)用密碼學(xué)技術(shù),使計(jì)算機(jī)網(wǎng)絡(luò)中的通信更為安全。具體來(lái)說(shuō)分兩部分:第一,應(yīng)用AES算法對(duì)通信內(nèi)容進(jìn)行加密,使接收方可以利用公用密鑰對(duì)密文進(jìn)行解密。第二,利用HASH函數(shù)驗(yàn)證傳輸?shù)膬?nèi)容有沒(méi)有被篡改。通過(guò)AES算法的應(yīng)用,可以對(duì)通信數(shù)據(jù)進(jìn)行加密解密,從而提高信息傳輸?shù)陌踩?;通過(guò)HASH函數(shù)的應(yīng)用,可以進(jìn)一步驗(yàn)證傳輸內(nèi)容的可靠性,從而避免在傳輸過(guò)程中可能發(fā)生的偽造和欺騙問(wèn)題。經(jīng)過(guò)計(jì)算與測(cè)試這種新的hash函數(shù)具有很好的散列性、混亂與擴(kuò)散特性和抗沖突性,能有效的抵御差分密碼分析和線性密碼分析,且具有很快的執(zhí)行速度。
關(guān)鍵詞:數(shù)據(jù)加密標(biāo)準(zhǔn);高級(jí)加密標(biāo)準(zhǔn);安全散列算法;Winsock通信;單向函數(shù)
目 錄
第一章 緒論
第二章 密碼學(xué)概述
第三章 基于AES算法的HASH函數(shù)的設(shè)計(jì)
3.1 基于AES算法的HASH函數(shù)的構(gòu)造
3.1.1 AES加密/解密原理圖
3.1.2 構(gòu)造哈希函數(shù)的算法和原理圖
3.2 基于AES算法的HASH函數(shù)的程序設(shè)計(jì)
3.2.1 Visual C++與VC6.0
3.2.2 HASH函數(shù)的程序設(shè)計(jì)
3.2.3 加密解密測(cè)試
3.3 HASH函數(shù)的各項(xiàng)性能分析
3.3.1 散列性
3.3.2 混亂和擴(kuò)散特性
3.3.3 抗沖突性
3.3.4 執(zhí)行速度
第四章 基于AES算法的HASH函數(shù)的應(yīng)用
4.1 Winsock簡(jiǎn)介
4.2 客戶(hù)機(jī)/服務(wù)器模式
4.3 用Winsock通信實(shí)現(xiàn)HASH函數(shù)的傳輸
4.3.1服務(wù)器端操作 socket(套接字)
4.3.2客戶(hù)端Socket的操作
4.3.3數(shù)據(jù)的傳輸
結(jié)束語(yǔ)
致 謝
參考文獻(xiàn)
附 錄
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