摘要: 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 重设代码的天空 阅读(792) 评论(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 重设代码的天空 阅读(432) 评论(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 重设代码的天空 阅读(555) 评论(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 重设代码的天空 阅读(553) 评论(0) 推荐(0)