DES加密解密.c
PS:需要输入三个字符串,分别是:待处理串(16位16进制数),密钥(16位16进制数16),1或0(1代表加密,0代表解密) 加密: Key: 0x30 0x30 0x30 0x30......0x30(8个字节) Data: 0x31 0x31 0x31 0x31......0x31(8个字节) Mode: Encryption 结果:65 5e a6 28 cf 62 58 5f 解密: Key: 0x31 0x31......0x31(8个0x31) Data: 65 5e a6 28 cf 62 58 5f Mode: Decryption 结果:0x31 0x31......0x
用户评论