摘要: package com.albedo.security; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.SecretKey; import javax.crypto.spec.Sec 阅读全文
posted @ 2020-09-11 15:15 重设代码的天空 阅读(745) 评论(0) 推荐(0) 编辑
摘要: package com.albedo.security; import java.math.BigInteger; import java.security.MessageDigest; /** * MD5加密 */ public class Md5Utils { public static Str 阅读全文
posted @ 2020-09-11 15:14 重设代码的天空 阅读(420) 评论(0) 推荐(0) 编辑
摘要: package com.albedo.security; import javax.crypto.Cipher; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.DESKeySpec; import javax.crypt 阅读全文
posted @ 2020-09-11 15:12 重设代码的天空 阅读(544) 评论(0) 推荐(0) 编辑
摘要: package com.albedo.security; import javax.crypto.Cipher; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.DESKeySpec; import javax.crypt 阅读全文
posted @ 2020-09-11 15:11 重设代码的天空 阅读(529) 评论(0) 推荐(0) 编辑