提交 5cb8a331 编写于 作者: 刘兴

修改MD5迭代次数1024次为1000次

上级 58df7fe3
......@@ -14,7 +14,7 @@ public class MD5Util {
public static String md5Hash(String password,String salt){
ByteSource saltBytes = ByteSource.Util.bytes(salt);
SimpleHash simpleHash = new SimpleHash("MD5",password,saltBytes,1024);
SimpleHash simpleHash = new SimpleHash("MD5",password,saltBytes,1000);
return simpleHash.toString();
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册