- 相關推薦
數(shù)據(jù)加密標準DES的C++實現(xiàn)
摘 要
信息技術的飛速發(fā)展,使人們的生活面貌發(fā)生了很大改變,同時信息技術也促進了社會的發(fā)展。在計算機網(wǎng)絡深入普及的信息時代,信息本身就是時間,就是財富。如何保護信息的安全使之不被竊取及不至于被篡改或破壞,已成為當今普遍關注的重大問題。密碼是有效且可行的辦法。
本文主要介紹DES加密與解密算法的C++語言實現(xiàn),從密鑰生成、DES加密原理、DES解密原理3方面闡述了DES算法的整個過程。并在此基礎上,在windows環(huán)境下,利用標準VC++6.0實現(xiàn)DES加密與解密算法,以窗體界面方式完成1個本地的文件加解密演示器。
本論文共分為7部分。第1章從現(xiàn)代電子技術的發(fā)展揭示密碼學在科學領域的重要性,從而說明選此課題作為畢業(yè)設計的原因。第2章講述了密碼學的基礎知識。第3是本文的重點,以DES的歷史回顧為起點,逐1揭示DES算法的原理,并按密鑰生成、DES加密、DES解密的次序,利用C++語言實現(xiàn)DES的加密與解密代碼的設計。第4章對窗體界面作簡要的介紹,說明本演示器的工作過程。第5章對DES存在的安全性進行分析及可行的解決方案。第6章對DES的工作模式進行簡要的介紹,其中,重點介紹了本文所采取的ECB模式。第7章舉例對代碼進行測試,看是否符合標準的DES加密和解密。
關鍵詞:信息安全;密鑰; 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ù)加密標準DES的C++實現(xiàn)】相關文章:
用VC++實現(xiàn)高級數(shù)據(jù)加密標準AES03-07
高級加密標準Rijndael算法的分析及實現(xiàn)11-23
實現(xiàn)基于網(wǎng)頁的數(shù)據(jù)庫數(shù)據(jù)導入03-18
談數(shù)據(jù)加密技術在銀行系統(tǒng)中的應用03-18