(Official C/C development engineer (1090119), please enter your ID for verification. This code specifically demonstrates the DES algorithm, including the plaintext and key binary representation. The DES algorithm changes the 64-bit plaintext input block into a 64-bit ciphertext output block, and the key it uses is also 64-bit. The block is recombined bit by bit, and the output is divided into two parts, L0 and R0, each part is 32 bits long. And so on, the last digit is the original 7th. L0 and R0 are the two parts after transposition output, L0 is the left 32 bits of the output, and R0 is the right 32 bits. For example, if the input value before the transposition is set to D1D2D3...D64, the result after the initial transposition is < imgsrc="sweat.gif"smilieid="10"border="0"alt=""/>0=D58D50……D8;R0=D57D49……D7. 2 After 16 iterations of inverse permutation, L16 is obtained , R16, take this as the input, perform inverse permutation, which is just the inverse operation of the initial permutation, thus obtaining the ciphertext output.
DES_zyj\res\DES encryption and decryption algorithm.ico
DES_zyj\res\DES encryption and decryption algorithm.rc2
DES_zyj\DES encryption and decryption algorithm.clw
DES_zyj\DES encryption and decryption algorithm.cpp
DES_zyj\DES encryption and decryption algorithm.dsp
DES_zyj\DES encryption and decryption algorithm.dsw
DES_zyj\DES encryption and decryption algorithm.h
DES_zyj\DES encryption and decryption algorithm.opt
DES_zyj\DES encryption and decryption algorithm.rc
DES_zyj\DES encryption and decryption algorithm Dlg.cpp
DES_zyj\DES encryption and decryption algorithm Dlg.h
DES_zyj\resource.h
DES_zyj\StdAfx.cpp
DES_zyj\StdAfx.h
DES_zyj\keybinary indicates.dat
DES_zyj\plaintext binary indicates .dat)