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);
|
// }
|
}
|