【文件属性】:
文件名称:DES加密解密的C++源程序
文件大小:21KB
文件格式:DOCX
更新时间:2015-08-13 09:45:47
DES
#include
#include"stdio.h"
#include"math.h"
#include "string.h"
static char key[16][48];
static char Hex[16][4];
////IP置换。
int IP[64]=
{
58,50,42,34,26,18,10,2,\
60,52,44,36,28,20,12,4,\
62,54,46,38,30,22,14,6,\
64,56,48,40,32,24,16,8,\
57,49,41,33,25,17,9, 1,\
59,51,43,35,27,19,11,3,\
61,53,45,37,29,21,13,5,\
63,55,47,39,31,23,15,7 \
};
//IP-1置换。可根据IP表生成
网友评论
- 就是一个word文档,没什么太大用处
- 没有主程序,郁闷