文件名称:DES
介绍说明--下载内容均来自于网络,请自行研究使用
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