文件名称:java编写DES加密算法
文件大小:10KB
文件格式:JAVA
更新时间:2014-05-07 13:25:13
DES
private static final int[] PC_1 = { 57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36, 63, 55, 47, 39, 31, 23, 15, 7, 62, 54, 46, 38, 30, 22, 14, 6, 61, 53, 45, 37, 29, 21, 13, 5, 28, 20, 12, 4 }; // 密钥的PC_1置换,将初始密钥的8个奇偶校验位剔除掉