DES算法Java实现

  • A8_507161
    了解作者
  • 56.9KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-22 10:39
    上传日期
DES算法用Java代码实现,适用于学生交作业
DES.rar
  • DES
  • src
  • classes
  • DESFrame.java
    9.1KB
  • DES.java
    5.1KB
  • .settings
  • org.eclipse.jdt.core.prefs
    629B
  • bin
  • classes
  • DES.class
    4.9KB
  • DESFrame$1.class
    682B
  • DESFrame.class
    7.4KB
  • .project
    379B
  • 3.txt
    19B
  • 2.txt
    24B
  • .classpath
    232B
  • DES实验报告.doc
    98KB
  • 1.txt
    19B
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/6267e2184c65f4125976ed08/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/6267e2184c65f4125976ed08/bg1.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0"> <span class="fs1"> <span class="ff2">&#22810;&#20154;&#32842;&#22825;&#23460;&#35774;&#35745;</span></span></div><div class="t m0 x1 h4 y3 ff3 fs2 fc0 sc0 ls0 ws0"> <span class="ff2">&#23567;&#32452;&#25104;&#21592;&#65306;&#29579;&#19968;&#12289;&#21556;&#26122;&#12289;&#40644;&#20313;&#12289;&#29579;&#32874;&#12289;&#34945;&#26377;&#36745;</span></div><div class="t m0 x1 h4 y4 ff2 fs3 fc0 sc1 ls0 ws0">&#23454;&#39564;&#30446;&#30340;<span class="fs2">&#65306;</span></div><div class="t m0 x1 h5 y5 ff3 fs2 fc0 sc0 ls0 ws0"> <span class="ff2 fs4">&#25484;&#25569;<span class="_ _0"> </span><span class="ff3">DES<span class="_ _0"> </span></span>&#21152;&#23494;&#21644;&#35299;&#23494;&#30340;&#26041;&#27861;&#65292;&#20102;&#35299;&#20449;&#24687;&#23433;&#20840;&#25216;&#26415;<span class="fs3">&#12290;</span></span></div><div class="t m0 x1 h6 y6 ff2 fs3 fc0 sc1 ls0 ws0">&#23454;&#39564;&#21407;&#29702;&#65306;</div><div class="t m0 x2 h7 y7 ff2 fs4 fc0 sc0 ls0 ws0">&#26412;&#23454;<span class="_ _1"></span>&#39564;&#30340;<span class="_ _1"></span>&#21407;&#29702;<span class="_ _1"></span>&#24456;&#31616;<span class="_ _1"></span>&#21333;&#65292;<span class="_ _1"></span>&#30452;&#25509;<span class="_ _1"></span>&#35843;&#29992;<span class="_"> </span><span class="ff3">Java<span class="_ _0"> </span></span>&#31867;&#24211;&#20013;<span class="_ _2"> </span><span class="ff3">Cipher<span class="_ _0"> </span></span>&#31867;<span class="_ _1"></span>&#30340;&#26377;<span class="_ _1"></span>&#20851;&#26041;<span class="_ _1"></span>&#27861;&#21152;<span class="_ _1"></span>&#23494;&#23383;</div><div class="t m0 x1 h7 y8 ff2 fs4 fc0 sc0 ls0 ws0">&#33410;&#65292;&#23545;&#20110;&#23383;&#31526;&#20018;&#21644;&#25991;&#20214;&#37117;&#21487;&#20197;&#20808;&#36716;&#21270;&#20026;&#23383;&#33410;&#25968;&#32452;&#28982;&#21518;&#36827;&#34892;&#21152;&#23494;&#21644;&#35299;&#23494;&#12290;</div><div class="t m0 x1 h6 y9 ff2 fs3 fc0 sc1 ls0 ws0">&#23454;&#39564;&#29615;&#22659;&#65306;</div><div class="t m0 x1 h7 ya ff4 fs3 fc0 sc0 ls0 ws0"> <span class="ff3 fs4">Myeclips 8.5 <span class="ff2">&#21644; </span>windows<span class="_ _1"></span>XP</span></div><div class="t m0 x1 h6 yb ff2 fs3 fc0 sc1 ls0 ws0">&#23454;&#39564;&#20869;&#23481;&#65306;</div><div class="t m0 x2 h7 yc ff2 fs4 fc0 sc0 ls0 ws0">&#26412;&#27425;&#23454;&#39564;&#21482;&#26377;&#20004;&#20010;&#31867;&#65292;&#31532;&#19968;&#20010;<span class="_ _0"> </span><span class="ff3">DES<span class="_ _0"> </span></span>&#31867;&#36890;&#36807;&#35843;&#29992;<span class="_ _0"> </span><span class="ff3">javax.crypto<span class="_ _3"></span>.Cipher<span class="_ _0"> </span><span class="ff2">&#31867;&#23454;</span></span></div><div class="t m0 x1 h7 yd ff2 fs4 fc0 sc0 ls0 ws0">&#29616;&#21152;&#23494;&#21644;&#35299;&#23494;&#30340;&#26377;&#20851;&#26041;&#27861;&#65292;&#26159;&#26412;&#27425;&#23454;&#39564;&#30340;&#26680;&#24515;&#65307;&#31532;&#20108;&#20010;<span class="_ _2"> </span><span class="ff3">DESF<span class="_ _4"></span>rame<span class="_ _0"> </span><span class="ff2">&#26159;&#23454;&#39564;&#30028;&#38754;&#65292;</span></span></div><div class="t m0 x1 h7 ye ff2 fs4 fc0 sc0 ls0 ws0">&#35843;&#29992;<span class="_ _0"> </span><span class="ff3">DES<span class="_ _0"> </span></span>&#30340;&#26041;&#27861;&#23454;&#29616;&#21152;&#23494;&#21644;&#35299;&#23494;&#23383;&#31526;&#20018;&#21644;&#25991;&#20214;&#12290;</div><div class="t m0 x2 h7 yf ff2 fs4 fc0 sc0 ls0 ws0">&#26680;&#24515;&#20195;&#30721;&#65306;</div><div class="t m0 x2 h7 y10 ff3 fs4 fc0 sc0 ls0 ws0">DES<span class="_ _0"> </span><span class="ff2">&#31867;&#65306;</span></div><div class="t m0 x2 h8 y11 ff3 fs0 fc0 sc0 ls0 ws0">package classes; </div><div class="t m0 x2 h8 y12 ff3 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x2 h8 y13 ff3 fs0 fc0 sc0 ls0 ws0">import java.io.F<span class="_ _4"></span>ile;</div><div class="t m0 x2 h8 y14 ff3 fs0 fc0 sc0 ls0 ws0">import java.io.F<span class="_ _4"></span>ileInputStr<span class="_ _3"></span>eam; </div><div class="t m0 x2 h8 y15 ff3 fs0 fc0 sc0 ls0 ws0">import java.io.F<span class="_ _4"></span>ileOutputStr<span class="_ _3"></span>eam; </div><div class="t m0 x2 h8 y16 ff3 fs0 fc0 sc0 ls0 ws0">import java.io.InputStr<span class="_ _3"></span>eam; </div><div class="t m0 x2 h8 y17 ff3 fs0 fc0 sc0 ls0 ws0">import java.io.OutputStr<span class="_ _3"></span>eam; </div><div class="t m0 x2 h8 y18 ff3 fs0 fc0 sc0 ls0 ws0">import java.security<span class="_ _5"></span>.K<span class="_ _3"></span>ey; </div><div class="t m0 x2 h8 y19 ff3 fs0 fc0 sc0 ls0 ws0">import java.security<span class="_ _5"></span>.Secur<span class="_ _3"></span>eRandom; </div><div class="t m0 x2 h8 y1a ff3 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x2 h8 y1b ff3 fs0 fc0 sc0 ls0 ws0">import javax.crypto.Cipher; </div><div class="t m0 x2 h8 y1c ff3 fs0 fc0 sc0 ls0 ws0">import javax.crypto.CipherInputStr<span class="_ _3"></span>eam; </div><div class="t m0 x2 h8 y1d ff3 fs0 fc0 sc0 ls0 ws0">import javax.crypto.CipherOutputStr<span class="_ _3"></span>eam; </div><div class="t m0 x2 h8 y1e ff3 fs0 fc0 sc0 ls0 ws0">import javax.crypto.K<span class="_ _4"></span>eyGenerator;<span class="_ _1"></span> </div><div class="t m0 x2 h8 y1f ff3 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x2 h8 y20 ff3 fs0 fc0 sc0 ls0 ws0">import sun.misc.BASE64Decoder; </div><div class="t m0 x2 h8 y21 ff3 fs0 fc0 sc0 ls0 ws0">import sun.misc.BASE64Encoder; </div><div class="t m0 x2 h8 y22 ff3 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x2 h8 y23 ff3 fs0 fc0 sc0 ls0 ws0">public class DES </div><div class="t m0 x2 h8 y24 ff3 fs0 fc0 sc0 ls0 ws0">{</div><div class="t m0 x3 h8 y25 ff3 fs0 fc0 sc0 ls0 ws0">private K<span class="_ _3"></span>ey k<span class="_ _3"></span>ey; </div><div class="t m0 x2 h8 y26 ff3 fs0 fc0 sc0 ls0 ws0"> </div></div></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐
    • JAVA算法
      JAVA中的算法
    • java算法
      java语言的算法结构
    • java算法教程
      java算法教程,里面讲述java算法,文档类型,有解释说明,非常详细
    • Java算法
      Java算法 该项目的目的是建立 运行并构建 建立 gradle clean build 测试 gradle clean test
    • Java算法大全
      Java算法大全,有近100多种常见算法的源代码,是学习JAVA算法的难得资料
    • 二叉树的java算法
      这是二叉树的java算法,基本思路是通过二叉树的遍历,完成的java语法的算法编程
    • java算法项目
      java算法项目包括: 1)快速查询、折半查询 2)队列算法 3)约瑟夫环问题求解 4)使用数组实现堆栈,包括入栈、出栈、获取堆栈长度 5)分治算法求解假银币问题等
    • JAVA算法应用
      JAVA算法程序中出现在程序中出现在出租车校长餐校长餐小村小组村
    • JAVA算法
      JAVA学习方法 思想 题库
    • java算法
      java算法 Java数据结构和算法中文第二版