DES encryption and decryption algorithm
2012-11-06
0 0 0
no vote
Other
Earn points
Algorithm processes
1. replacement of the binary string to be processed for IP
2. will PC1 replacement key (64-bit to 56-bit),
3. held 16 rounds of operations, for I round operation:
1) received by the an on PC1 key (first level dropped out, others are shifted) result of left and right parts (28) cycle 1 or 2 bits to the left, respectively, and then PC2[i the SHIFT key] replacement.
2) will processing series parity is divided into around two series Li,Ri (the 32 bit), then will right series Ri through e box expansion for new of right series R' (48 bit), R' and Shang a step are of PC2[i] child key key for different or operation, results through s box output (48 for to 32 bit), then through p box directly replacement, again and Li different or.
3) will make a Li,R' assigned to Ri Ri is assigned.
4) consolidation StrText=Li+Ri.
4. the latest series IP_1 replacement, replacement
1. replacement of the binary string to be processed for IP
2. will PC1 replacement key (64-bit to 56-bit),
3. held 16 rounds of operations, for I round operation:
1) received by the an on PC1 key (first level dropped out, others are shifted) result of left and right parts (28) cycle 1 or 2 bits to the left, respectively, and then PC2[i the SHIFT key] replacement.
2) will processing series parity is divided into around two series Li,Ri (the 32 bit), then will right series Ri through e box expansion for new of right series R' (48 bit), R' and Shang a step are of PC2[i] child key key for different or operation, results through s box output (48 for to 32 bit), then through p box directly replacement, again and Li different or.
3) will make a Li,R' assigned to Ri Ri is assigned.
4) consolidation StrText=Li+Ri.
4. the latest series IP_1 replacement, replacement
c
算法
des
加密解密
Related Source Codes
PClite
0
0
no vote
generic embeded FTP Client
0
0
no vote
UDP Test Demo
0
0
no vote
TMS320F28335 DSP transmits data to EEPROM through
0
0
no vote
TMS320F28335 CAN communication source code
0
0
no vote
No comment