String pwd = userInfo.getPassword();
//随机生成密码盐(字符)
String str = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
Random random = new Random();
StringBuffer sb = new String
SpringBooot MD5加盐加密
最新推荐文章于 2023-10-16 21:31:52 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)