|
1
2
3
4
5
6
7
8
9
10
11
12
|
package com.huaheng.test;
import com.huaheng.framework.shiro.service.PasswordService;
public class EncryptPassword {
public static void main(String[] args) {
PasswordService passwordService = new PasswordService();
String psw = passwordService.encryptPassword("superAdmin", "admin123", "3d82fd");
System.out.println(psw);
}
}
|