摘要: 传统MD5已经不安全,被王小云破解过了(不仅仅如此)。 若需要安全加密,最好是使用MD5Hash; 阅读全文
posted @ 2017-09-06 17:19 DavidGandy 阅读(121) 评论(0) 推荐(0) 编辑
摘要: import org.apache.shiro.crypto.hash.Md5Hash; public static void main(String[] args) { /** * source 要加密的密码 * salt 盐 * hashIterations 哈希次数 */ Md5Hash md 阅读全文
posted @ 2017-09-06 17:11 DavidGandy 阅读(533) 评论(0) 推荐(0) 编辑