摘要:
传统MD5已经不安全,被王小云破解过了(不仅仅如此)。 若需要安全加密,最好是使用MD5Hash; 阅读全文
posted @ 2017-09-06 17:19
DavidGandy
阅读(127)
评论(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
阅读(540)
评论(0)
推荐(0)

浙公网安备 33010602011771号