摘要: 这些是抄人家代码的 阅读全文
posted @ 2018-04-16 09:38 夼趸蒋 阅读(281) 评论(0) 推荐(0) 编辑
摘要: package com.kaishengit.security; import java.security.KeyFactory; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.PrivateKey; import java.security.PublicKey... 阅读全文
posted @ 2018-04-16 09:37 夼趸蒋 阅读(482) 评论(0) 推荐(0) 编辑
摘要: package com.kaishengit.security; import java.security.Key; import java.security.SecureRandom; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.SecretKey; import java... 阅读全文
posted @ 2018-04-16 09:35 夼趸蒋 阅读(158) 评论(0) 推荐(0) 编辑
摘要: package com.kaishengit.security; import java.security.MessageDigest; import java.security.Security; import javax.crypto.KeyGenerator; import javax.crypto.Mac; import javax.crypto.SecretKey; import ... 阅读全文
posted @ 2018-04-16 09:33 夼趸蒋 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 列出来三种实现方式,JDK,Bouncy,Common 阅读全文
posted @ 2018-04-16 09:30 夼趸蒋 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 种类: 代码实现主要有三种 下面的文章将本人自己写的一些例子代码给展示出来。 阅读全文
posted @ 2018-04-16 09:27 夼趸蒋 阅读(147) 评论(0) 推荐(0) 编辑