摘要: 下面是使用jdk提供的加密类库进行DES加密样例 1 public class TestDES { 2 3 //SecretKey 负责保存对称密钥 4 private SecretKey deskey; 5 //Cipher负责完成加密或解密工作 6 private Cipher c; 7 8 p 阅读全文
posted @ 2017-09-30 17:42 holoyong 阅读(229) 评论(0) 推荐(0) 编辑