文档介绍:摘要
本文论述了利用Verilog硬件语言来描述DES加密技术对它进行模块设计并用ModelSim SE进行了仿真。且详细的对DES加密解密的工作原理及算法进行了解释讲解。加密的历史可以追溯到公元前2000年的古埃及,当时人们只是运用简单的象形文字,到现在已经有各种各样的加密技术,而DES加密是采用对称密钥加密法,即用相同密钥进行加密和解密。
本文对DES加密模块的设计进行了详细的介绍,对DES加密技术的工作原理及DES的算法进行了详细的介绍。DES算法的3个入口参数为key、data、mode,key为加密解密使用的密钥,data为加密解密的数据,mode为其工作模式。本文只对key-gen模块进行了详细的讲解。DES加密工作原理中只详细介绍了DES的一轮,其中对DES的一轮中各个步骤进行了比较详细的简介。对DES加密算法进行了图解和说明,并用表格形式对DES的置换规则,放大换位,单纯换位进行了描述。且对DES算法框图中的选择函数S1,S8进行了表格描述。另外本文还对采用的硬件描述语言Verilog HDL进行了简介,对其语法和源代码等进行了介绍。
关键词 DES ;Verilog HDL;ModelSim SE;加密技术
Abstract
This article discusses the use of Verilog hardware description language for encryption of DES technology to its modular design and simulation with ModelSim SE. Detailed work on the encryption of DES and algorithm of decryption explained principle and explain. Encryption can be traced back the history of ancient Egypt in 2000 BC, when people just use simple hieroglyphs, to now have a variety of encryption technology. The method with symmetric encryption is used of the encryption of DES, which uses the same dense key for encryption and decryption.
In this paper, introduced the design of encryption、the work of principle of DES and the algorithm of DES in algorithm of DES has three entrance parameters : key、data and key is used of the encryption and article discusses the module of key_gen and introduces the one replacement of DES in detail,alse introduces the one replacement on the DES in the profile. The illustrations and tabular form are used of the algorithm and the replacement of the DES rules、zoom transposition、simple transposition are described in this article. The algorithm and the choice of function S1、S8 are described with form. Additionally, this article introduces Verilog HDL with description language of hardware and its syntax and source code.
Keywords DES;Verilog HDL;ModelSim SE ;encryption technology
目录
1 绪论 1
DES的概要及背景 1
Verilog模块的概要及背景 2
2 设计的技术基础 3
EDA技术简介 3
Verilog HD