-
des算法C实现
#include
class SubKey{ //定义子密钥为一个类
public:
int key[8][6];
}subkey[16]; //定义子密钥对象数组
class DES{
int encipher_decipher; //判断加密还是解密
int key_in[8][8]; //用户原始输入的64位二进制数
int key_out[8][7]; //除去每行的最后一位校验位
int c0_d0[8][7]; //存储经PC-1转换后的56位数据
int c0[4][7],d0[4][7]; //分别存储c0,d0
int text[8][8]; //64位明文
int text_ip[8][8]; //经IP转换过后的明文
int A[4][8],B[4][8]; //A,B分别存储经IP转换过后明文的两部分,便于交换
int temp[8][6]; //存储经扩展置换后的48位二进制值
int temp1[8][6]; //存储和子密钥异或后的结果
int s_result[8][4]; //存储经S变换后的32位值
int text_p[8][4]; //经P置换后的32位结果
int secret_ip[8][8]; //经逆IP转换后的密文
public:
void Key_Putting();
void PC_1();
int function(int,int); //异或
void SubKey_Production();
void I
- 2022-03-28 11:19:34下载
- 积分:1
-
基于安卓的记事本源代码
应用背景
基于安卓的记事本开发
这是安卓知识应用的一个小程序,记事本开发这个程序可以实现以下几点:
一、新建日记
二、保存日记
三、删除日记
四、选择全部,然后删除日记
五、日记可以列表显示,也可以宫格显示
六、在退出时有提示信息
关键技术
- 2022-09-12 00:40:04下载
- 积分:1
-
SPBU 仿真
这个程序是使用 java netbeans 创建的加油站模拟应用程序。此应用程序基于基于对象的编程系统。在提出此项申请进行尽可能密切与工具 / 机器加油机动车辆。开始测量工具、 计算器和可以打开和关闭的加油软管。希望这款应用可以帮助,所以接受这样的爱情 !
- 2022-07-25 22:14:44下载
- 积分:1
-
JAVA的后台模板,可以支持网页和MVC框架
资源描述
JAVA的后台模板,可以支持网页和MVC框架
内有JSP模板
- 2022-01-24 09:29:06下载
- 积分:1
-
商务在线平台前台子系统
本系统是基于SSH的商务在线平台前台子系统,主要分为两大模块web前台和企业管理web。WEB前台主要是将商务在线业务展现给访问者(游客或者登录用户)的一个窗口。在WEB前台中,商务在线所有业务都完全、直观地展现在访问者面前。WEB前台主要包含注册、登录、退出、注销、网上展厅、视频直播、视频点播、在线客服、意见反馈、关于我们。WEB前台网上展厅包含流动广告、企业列表、搜索特定企业、进入企业专题房间等功能。
- 2022-01-26 06:53:40下载
- 积分:1
-
图书馆管理系统
全方位的图书馆管理系统,VB 源码,书面的也可以用,请支持!!!全方位的图书馆管理系统,VB 源码,书面的也可以用,请支持!!!...
- 2022-07-17 08:04:20下载
- 积分:1
-
支付网关搜集文档
支付网关搜集文档,
快钱支付
支付宝
YeePay易宝
邮局支付(网汇通)
安付通
网银(chinabank)
- 2023-06-12 01:15:03下载
- 积分:1
-
小游戏五子棋大战
class LNode{
private int row;
private int col;
private Color chessColor;
private LNode next;
public LNode(int row,int col,Color chessColor){
this.row=row;
this.col=col;
this.chessColor=chessColor;
}
public LNode(){
this.next=null;
}
public void setRow(int row){
this.row=row;
}
public int getRow(){
return this.row;
}
public void setCol(int col){
this.col=col;
}
public int getCol(){
return this.col;
}
public void setChessColor(Color chessColor){
this.chessColor=chessColor;
}
public Color getChessColor(){
return this.chessColor;
}
public void setNext(LNode next){
this.next=next;
}
public LNode getNext(){
return this.next;
}
}
class NullAndCount{
private int nullCount=0;
private int chessCount=0;
public void setNullCount(int nullCount){
this.nullCount=nullCount;
}
public int getNullCount(){
return this.nullCount;
}
public void setChessCoun
- 2022-05-08 02:47:07下载
- 积分:1
-
java EE SSH sping+struts2+hibernate网上商城
资源描述使用Sping、struts2和hibernate三个框架的整合,实现网上书店系统。使用mysql数据库。
- 2022-01-24 15:15:35下载
- 积分:1
-
Struts2+hibernate+Bootstrap+Myeclipse 健康监测平台
资源描述使用Bootstrap框架,采用Struts2+hibernate构建的一个健康监测平台
- 2022-02-24 19:27:05下载
- 积分:1