fwq
2022-01-26 07bf2e3fb490c635aab3835bf9f21b23ac0286af
phi_platform_user/src/main/java/com/hx/phip/Rsa.java
@@ -7,14 +7,14 @@
public class Rsa {
    public static void main(String[] args) {
       System.out.println(AesUtil.aesEncryp("ev8i6tfy9Gg0eyaF6SDyvNHcsNGNeff8enwT_eLKf_0"));
       //System.out.println(AesUtil.aesEncryp("ev8i6tfy9Gg0eyaF6SDyvNHcsNGNeff8enwT_eLKf_0"));
        //配置文件数据加密
        /*BasicTextEncryptor encryptor = new BasicTextEncryptor();
        BasicTextEncryptor encryptor = new BasicTextEncryptor();
        encryptor.setPassword(AesUtil.SECRET);
        String encrypted = encryptor.encrypt("pis_rw:UYWoCz#4^@w5Soj*");
        System.out.println(encrypted);*/
        String encrypted = encryptor.encrypt("wx7335025935d006fc");
        System.out.println(encrypted);
        //解密
        //String decrypt = encryptor.decrypt("uFESkQwpAXSxg0SUR6BOlTujZqFC3pfIi3eTfuP0Lmrd0fqxG5XC4X0ho0Sp2FEV");
        //System.out.println("decrypt:"+decrypt);