![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
加解密
innovate1989
不断学习、实践、总结、提高。
展开
-
java实现AES加密解密--文件加解密
原文地址:http://www.blogjava.net/icewee/archive/2012/05/19/378556.html AESUtils.java package demo.security; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import ja...转载 2019-06-29 09:53:13 · 6340 阅读 · 0 评论 -
Java代码实现文件添加数字签名、验证数字签名
Linux下实现加签、验签 1.使用OpenSSL 生成公钥和密钥; #用 OpenSSL, Linux 上自带,常用命令如下: #生成 RSA 私钥(传统格式的) openssl genrsa -out rsa_private_key.pem 1024 #将传统格式的私钥转换成 PKCS#8 格式的(JAVA需要使用的私钥需要经过PKCS#8编码,PHP程序不需要,可以直接略过) openssl...转载 2019-06-29 10:00:00 · 2769 阅读 · 0 评论