des算法的可視化程序的實現(xiàn).doc
des算法的可視化程序的實現(xiàn),des算法的可視化程序的實現(xiàn)摘 要本畢業(yè)設計研究的是des算法實現(xiàn)及應用。選擇該課題的意義在于:為了防止信息不被非法訪問或竊取,實現(xiàn)達到該目的功能軟件。des算法是對稱的加密算法,具有速度快,執(zhí)行效率高等優(yōu)點,它是由ibm公司研制的一種加密算法.本設計實現(xiàn)了該算法并且集成了保密通信,加密演示,文本文件加密三大功能模塊....
內容介紹
此文檔由會員 arm1123 發(fā)布DES算法的可視化程序的實現(xiàn)
摘 要
本畢業(yè)設計研究的是DES算法實現(xiàn)及應用。選擇該課題的意義在于:為了防止信息不被非法訪問或竊取,實現(xiàn)達到該目的功能軟件。DES算法是對稱的加密算法,具有速度快,執(zhí)行效率高等優(yōu)點,它是由IBM公司研制的一種加密算法.本設計實現(xiàn)了該算法并且集成了保密通信,加密演示,文本文件加密三大功能模塊.保密通信模塊提供了一個基于C/S結構的保密通信示例。加密演示模塊提供了對DES算法的加解密演示功能。文本文件加密模塊提供了對文本文件加密并保存密文的功能。整個設計采用JAVA語言實現(xiàn),DES類提供了兩個接口,一個加密接口和一個解密接口,對其進行了封裝,以便在其他場合可以提供加解密功能。整個應用程序設計的各個功能模塊的執(zhí)行依靠事件驅動,根據不同的事件原因及事件類型執(zhí)行不同的功能模塊。在保密通信應用中采用了多線程技術,服務器端和客戶端集成到同一個面板上,各對端在發(fā)送消息時先對消息進行加密,發(fā)送線程負責處理加密消息的發(fā)送,接收線程負責處理加密消息的解密和顯示。本文是針對DES算法實現(xiàn)及其應用所做的工作,主要描述DES算法實現(xiàn)原理和方法,應用場合示例演示,實現(xiàn)方式和方法以及在此過程中運用到的計算機知識。并通過所編寫的程序實現(xiàn)了本文的描述。
關鍵詞:DES;保密通信;多線程
The Implementation of Visible Software about DES Algorithm
Abstract
The research work of this dissertation is the implementation of software about DES algorithm and its application. The meaning of this dissertation is based on: In order to prevent confidential information being illegally accessed or stolen find some ways to build software which function can reach described before. DES algorithm is one kind of symmetrical encryption algorithm, having highly speed, greatly execution efficiency. It's the result of IBM’s research work. This design implements the algorithm and integrates three modules, which is private communication Encrypting demonstration, text encrypting .The module of private communication provides a sample of C/S based communicate case. The module of encrypting demonstrate displays how to the DES works. The module of text encrypting implements the function of encrypting toward text and can save the cipher to a designated file. This design is coded by JAVA language. I declare a class which named des,and this class has two interfaces for the outside user, one used to encrypt, another decrypt. The two interfaces are encapsulated in the des class, in order to use for other occasions discretely. In this system, I use multi thread technology. The server side and client side are integrated on a panel, when send message, each peer firstly encrypts this message, the sending thread’s responsibility is to send the encrypted message, the receiving thread’s responsibility is to receive message and decrypt the message and then display to the end user! This dissertation implements the described above, briefly discuss the principle of the algorithm, the way and methods of the implementation, much knowledge about computer science. also constructing a software to fulfill described in this dissertation!
Key words: DES; secret communication; multi-thread
目 錄
論文總頁數:24頁
1 引言 1
1.1歷史背景 1
1.2國內外現(xiàn)狀 1
1.3課題的意義 1
1.4課題的實現(xiàn)方法 1
2 課題描述 2
2.1加密體制與DES算法 2
2.1.1算法與加密體 2
2.1.2加密解密的概念加密方法以及應用 3
2.1.3密碼學簡介 5
2.1.4算法的安全性 6
2.2算法流程 7
3 算法實現(xiàn)及應用 10
3.1應用程序結構 10
3.2應用程序底層加密接口 11
3.3功能模塊定義 13
3.3.1保密通信模塊 13
3.3.2加密演示模塊 17
3.3.3 文本文件加密模塊 20
3.3.4 簡單密匙管理模塊 20
結 論 22
參考文獻 22
致 謝 23
聲 明 24