文件名称:des_java

  • 所属分类:
  • JSP源码/Java
  • 资源属性:
  • [Java] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 11kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 不**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

一个DES的加密解密算法完整实现 包括S盒等重要实现,另外此程序还实现了文件数据流的加密解密

DESAlgorithm.java

DesHelper.java

DESStream.java

// des算法初始置换表ip

  public static final int[] IP = { 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 }



  // des算法终结置换表ip-1

  public static final int[] IP_1 = { 40, 8, 48, 16, 56, 24, 64, 32, 39, 7,

      47, 15, 55, 23, 63, 31, 38, 6, 46, 14, 54, 22, 62, 30, 37, 5, 45,

      13, 53, 21, 61, 29, 36, 4, 44, 12, 52, 20, 60, 28, 35, 3, 43, 11,

      51, 19, 59, 27, 34, 2, 42, 10, 50, 18, 58, 26, 33, 1, 41, 9, 49,

      17, 57, 25 } 等-A DES, encryption and decryption algorithms, including the full realization of S boxes and other important implementation, the program also implements other file data stream encryption and decryption

DESAlgorithm.java

DesHelper.java

DESStream.java

// des算法初始置换表ip

  public static final int[] IP = { 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 }



  // des算法终结置换表ip-1

  public static final int[] IP_1 = { 40, 8, 48, 16, 56, 24, 64, 32, 39, 7,

      47, 15, 55, 23, 63, 31, 38, 6, 46, 14, 54, 22, 62, 30, 37, 5, 45,

      13, 53, 21, 61, 29, 36, 4, 44, 12, 52, 20, 60, 28, 35, 3, 43, 11,

      51, 19, 59, 27, 34, 2, 42, 10, 50, 18, 58, 26, 33, 1, 41, 9, 49,

      17, 57, 25 } and so on
(系统自动生成,下载前可以参看下载内容)

下载文件列表

des_java\.svn\entries

........\....\text-base\DESAlgorithm.java.svn-base

........\....\.........\DesHelper.java.svn-base

........\....\.........\DESStream.java.svn-base

........\....\.........\Test.java.svn-base

........\DESAlgorithm.java

........\DesHelper.java

........\DESStream.java

........\.svn\tmp\prop-base

........\....\...\props

........\....\...\text-base

........\....\prop-base

........\....\props

........\....\text-base

........\....\tmp

........\.svn

des_java

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org