package com.post;

import com.ruoyi.common.utils.SecurityUtils;

public class PasswordTest {

    public static void main(String[] args) {
//        user.setPassword(SecurityUtils.encryptPassword(user.getPassword()));
        System.out.println("admin\t" + SecurityUtils.encryptPassword("Hzsh.eitc@6626.admin"));
        System.out.println("user\t" + SecurityUtils.encryptPassword("Hzsh.eitc@6626.user"));

//        admin	$2a$10$rJMf8sx3jwH1Fa.kTZ5eHuLm43UsMf/MRUrUoYiKyl9O3afrb4jsi    原密码备份：$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2
//        user	$2a$10$3yMVPn/45m3.c6.Lqg9.iOdKsB/Ihtg30tFfUL1QJA9SuclzLkeq2
    }
}
