在此处打上断点去注册账号
com.ruoyi.common.core.domain.entity.SysUser#setSalt
可以看到现在user里有盐值了
点进
com.ruoyi.framework.shiro.service.SysPasswordService#encryptPassword
继续点进
org.apache.shiro.crypto.hash.Md5Hash
source值为账号密码和颜值
继续点进super父类方法
org.apache.shiro.crypto.hash.SimpleHash#SimpleHash(java.lang.String, java.lang.Object)
public SimpleHash(String algorithmName, Object source, Object salt, int hashIterations) throws CodecException, UnknownAlgorithmException {
this.hexEncoded = null;
this.base64Encoded = null;
if