- 相關(guān)推薦
數(shù)據(jù)加密標(biāo)準(zhǔn)DES的C++實(shí)現(xiàn)
摘 要
信息技術(shù)的飛速發(fā)展,使人們的生活面貌發(fā)生了很大改變,同時(shí)信息技術(shù)也促進(jìn)了社會(huì)的發(fā)展。在計(jì)算機(jī)網(wǎng)絡(luò)深入普及的信息時(shí)代,信息本身就是時(shí)間,就是財(cái)富。如何保護(hù)信息的安全使之不被竊取及不至于被篡改或破壞,已成為當(dāng)今普遍關(guān)注的重大問(wèn)題。密碼是有效且可行的辦法。
本文主要介紹DES加密與解密算法的C++語(yǔ)言實(shí)現(xiàn),從密鑰生成、DES加密原理、DES解密原理3方面闡述了DES算法的整個(gè)過(guò)程。并在此基礎(chǔ)上,在windows環(huán)境下,利用標(biāo)準(zhǔn)VC++6.0實(shí)現(xiàn)DES加密與解密算法,以窗體界面方式完成1個(gè)本地的文件加解密演示器。
本論文共分為7部分。第1章從現(xiàn)代電子技術(shù)的發(fā)展揭示密碼學(xué)在科學(xué)領(lǐng)域的重要性,從而說(shuō)明選此課題作為畢業(yè)設(shè)計(jì)的原因。第2章講述了密碼學(xué)的基礎(chǔ)知識(shí)。第3是本文的重點(diǎn),以DES的歷史回顧為起點(diǎn),逐1揭示DES算法的原理,并按密鑰生成、DES加密、DES解密的次序,利用C++語(yǔ)言實(shí)現(xiàn)DES的加密與解密代碼的設(shè)計(jì)。第4章對(duì)窗體界面作簡(jiǎn)要的介紹,說(shuō)明本演示器的工作過(guò)程。第5章對(duì)DES存在的安全性進(jìn)行分析及可行的解決方案。第6章對(duì)DES的工作模式進(jìn)行簡(jiǎn)要的介紹,其中,重點(diǎn)介紹了本文所采取的ECB模式。第7章舉例對(duì)代碼進(jìn)行測(cè)試,看是否符合標(biāo)準(zhǔn)的DES加密和解密。
關(guān)鍵詞:信息安全;密鑰; DES;加密;解密;VC++6.0
Abstract
The information technology rapid development, caused peoples life appearance to have the very big change, simultaneously the information technology also promoted societys development. In the computer network thorough popularization information time, information itself is the time, is the wealth. How protects the information the security to cause it not to steal and as for not to tamper with or the destruction, has become the major issue which now generally pays attention. The password is the extremely useful one kind of labor
This article mainly introduces the DES encryption and the decipher algorithm C language realization, Decipher principle three aspects elaborated from key fresh room DES、 the encryption principle DES、 the DES algorithm entire has worked. And in this foundation, In windows environment, realizes the DES encryption and the decipher using standard VC++6.0 calculates, Completes a local document by the window contact surface way to add the decipher demonstration.
The present paper altogether divides into seven to blow, First chapter promulgates the cryptology from the modern electronic technology development to be important in the scientific domain, Thus explained chooses this topic to take the graduation project originally. Second chapter narrated the cryptology elementary knowledge, Third is this article key point, Take narrates the DES history as the beginning, A explanation DES algorithm original hollow piece of jade, Meanwhile how to make the encrypts key、 encrypts the DES decipher take key、 fresh room DES as the line, Realizes the DES encryption and the decipher code using the C++ language supposes discusses. Fourth chapter makes the simple introduction to the window contact surface, Explane how the ming dynasty printed books demonstration should use. Fifth chapter carries on the analysis to the DES existence security simultaneously to separate out the feasible solution, Sixth chapter carries on the brief introduction to the DES working pattern, Introduced with emphasis this article adopts ECB pattern. Seventh chapter gives an example to carry on the test to the code, Confirms whether conforms to the standard DES encryption to reconcile Laos.
KeyWords:Information security; Key; DES; Encryption; Decipher; VC++6.0.
【數(shù)據(jù)加密標(biāo)準(zhǔn)DES的C++實(shí)現(xiàn)】相關(guān)文章:
用VC++實(shí)現(xiàn)高級(jí)數(shù)據(jù)加密標(biāo)準(zhǔn)AES03-07
利用匯編語(yǔ)言實(shí)現(xiàn)DES加密算法03-20
高級(jí)加密標(biāo)準(zhǔn)Rijndael算法的分析及實(shí)現(xiàn)11-23
3-DES算法的FPGA高速實(shí)現(xiàn)03-20
實(shí)現(xiàn)基于網(wǎng)頁(yè)的數(shù)據(jù)庫(kù)數(shù)據(jù)導(dǎo)入03-18
談數(shù)據(jù)加密技術(shù)在銀行系統(tǒng)中的應(yīng)用03-18
磁盤文件高級(jí)數(shù)據(jù)加密解密器03-07