双重预防项目-国泰新华二开定制版
kongzy
2024-08-14 135a322f44708b1187d37ea4b6859b5d82113e89
src/main/java/com/ruoyi/project/system/user/test.java
@@ -1,21 +1,21 @@
package com.ruoyi.project.system.user;
import com.ruoyi.framework.shiro.service.PasswordService;
import org.apache.shiro.crypto.hash.Md5Hash;
import org.springframework.beans.factory.annotation.Autowired;
public class test {
//    @Autowired
//    private  PasswordService passwordService;
//
//    public static void main(String[] args) {
//
//        String userName = "马文川";
//        String password = "Gkhy@c413";
//        String salt = "33402b";
//
//        String s = new Md5Hash(userName + password + salt).toHex();
//        System.out.println(s);
//    }
}
package com.ruoyi.project.system.user;
import com.ruoyi.framework.shiro.service.PasswordService;
import org.apache.shiro.crypto.hash.Md5Hash;
import org.springframework.beans.factory.annotation.Autowired;
public class test {
//    @Autowired
//    private  PasswordService passwordService;
//
//    public static void main(String[] args) {
//
//        String userName = "马文川";
//        String password = "Gkhy@c413";
//        String salt = "33402b";
//
//        String s = new Md5Hash(userName + password + salt).toHex();
//        System.out.println(s);
//    }
}