加入收藏 | 设为首页 | RSS
您当前的位置:首页 > 建站教程 > 网页技巧

如何实现 DES 算法(全)

时间:2012-04-30 13:14:40  来源:  作者:虾谷
7 62 54 46 38 30 22 
14 6 61 53 45 37 29 
21 13 5 28 20 12 4 

1.2.2 Split the permuted key into two halves. The first 28 bits are 
called C[0] and the last 28 bits are called D[0]. 
;把置换后的密钥分为C[0] 和D[0]两部分,各28位。 

1.2.3 Calculate the 16 subkeys. Start with i = 1. 
;计算16个子密钥,从i=1开始。 

1.2.3.1 Perform one or two circular left shifts on both C[i-1] and 
D[i-1] to get C[i] and D[i], respectively. The number of shifts per 
iteration are given in the table below. 
;分别对C[i-1]和D[i-1]进行左移一到两位的位移操作,得到C[i]和D[i]。每次 
;位移数目如下: 
# 共16次 

Iteration # 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 
Left Shifts 1 1 2 2 2 2 2 2 1 2 2 2 2 2 2 1 

1.2.3.2 Permute the concatenation C[i]D[i] as indicated below. This 

来顶一下
返回首页
返回首页
推荐资讯
10步征服web2.0链轮第四步,决定链轮模式
10步征服web2.0链轮第
10步征服web2.0链轮第三步,消除“电子足迹”
10步征服web2.0链轮第
10步征服web2.0链轮第一步,理解链轮的概念
10步征服web2.0链轮第
小贺店铺
小贺店铺
相关文章
    无相关信息
栏目更新
栏目热门