双重预防项目-国泰新华二开定制版
kongzy
2024-08-14 135a322f44708b1187d37ea4b6859b5d82113e89
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);
//    }
}