文件名称:DES
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:3.54kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
DES完整的加解密算法,使用C语言实现,经过测试,可以运行。
明文分组长64比特。有效主密钥长56比特,根据密钥生成算法,由主密钥生成16个48比特的子密钥。
该算法共16轮,每轮使用一个子密钥。
在进行16轮加密之前,先对明文做一个初始置换IP。
每一轮加密的轮函数f为: .
在16轮加密之后,对比特串L16R16换位为R16 L16,做逆置换IP-1,从而得到密文C。
-DES encryption algorithm is complete, use the C language, has been tested, you can run. 64-bit plaintext sub-head. Effective length 56-bit master key, according to the key generation algorithm, the master key generation sub-16 48-bit keys. A total of 16 rounds of the algorithm, each round using a sub-key. During 16 rounds of encryption before doing an initial replacement of the clear IP. Each round of encryption round function f as:. In 16, after encryption, the bit string L16R16 transposition for the R16 L16, do inverse permutation IP-1, to obtain ciphertext C.
明文分组长64比特。有效主密钥长56比特,根据密钥生成算法,由主密钥生成16个48比特的子密钥。
该算法共16轮,每轮使用一个子密钥。
在进行16轮加密之前,先对明文做一个初始置换IP。
每一轮加密的轮函数f为: .
在16轮加密之后,对比特串L16R16换位为R16 L16,做逆置换IP-1,从而得到密文C。
-DES encryption algorithm is complete, use the C language, has been tested, you can run. 64-bit plaintext sub-head. Effective length 56-bit master key, according to the key generation algorithm, the master key generation sub-16 48-bit keys. A total of 16 rounds of the algorithm, each round using a sub-key. During 16 rounds of encryption before doing an initial replacement of the clear IP. Each round of encryption round function f as:. In 16, after encryption, the bit string L16R16 transposition for the R16 L16, do inverse permutation IP-1, to obtain ciphertext C.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DES.c
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
