JAVA加密解密算法研究 第8页

JAVA加密解密算法
//----------Out put result 2---------------------
public void OutPutRestlt2(){
index=0;//Let index come back to 0
String strLength, strMoShu,
www.751com.cn
Length = Integer.parseInt(strLength);
MoShu = Integer.parseInt(strMoShu);
limit = function(Length);
int[] EachArrange = new int[this.function(Length)];
if (Length > 2&&Length<9&&
strLength!=""&&strMoShu!=""
&&MoShu<limit) {
prefix = "";
suffix =CreatString(Length);
Arrange(prefix, suffix, EachArrange);
Arrays.sort(EachArrange);
String strResult=String.valueOf(EachArrange[MoShu]);
jTextField1.setText(strResult);
}
else
System.out.println("Input Ouf MoShu, Try again") ;
}

void jButton1_actionPerformed(ActionEvent e) {
this.OutPutResult1();
}

void jButton2_actionPerformed(ActionEvent e) {
this.OutPutRestlt2();
}
//-----------------------------------------------------------

}

class LockUnlock_jButton1_actionAdapter implements java.awt.event.ActionListener {
LockUnlock adaptee;

LockUnlock_jButton1_actionAdapter(LockUnlock adaptee) {
this.adaptee = adaptee;
}
public void actionPerformed(ActionEvent e) {
adaptee.jButton1_actionPerformed(e);
}
}

class LockUnlock_jButton2_actionAdapter implements java.awt.event.ActionListener {
LockUnlock adaptee;

LockUnlock_jButton2_actionAdapter(LockUnlock adaptee) {
this.adaptee = adaptee;
}
public void actionPerformed(ActionEvent e) {
adaptee.jButton2_actionPerformed(e);
}
}结 束 语
本文从计算机学科的两个重要领域—计算机网络技术和数据库技术出发,分析了加密及技术在系统中的应用。
国际互连网技术日新月异的飞速发展,极大的推动着基于Intemet的应用技术的发展。支持Web数据库访问的新技术也层出不穷。随着校园网的发展,基于Intemet的加密、解密管理系统也在不断地深入和提高。今后我们将进一步努力,不断学习和研究新技术,开发出更多更好的具有管理信息系统。

上一页  [1] [2] [3] [4] [5] [6] [7] [8] 

Copyright © 2007-2012 www.chuibin.com 六维论文网 版权所有