瀏覽代碼

20231201-jasypt-bis-dbserver-change

shjung 1 年之前
父節點
當前提交
4340dc8579
共有 1 個文件被更改,包括 9 次插入4 次删除
  1. 9 4
      src/test/java/com/its/op/ItsOpServerApplicationTests.java

+ 9 - 4
src/test/java/com/its/op/ItsOpServerApplicationTests.java

@@ -59,10 +59,15 @@ public class ItsOpServerApplicationTests {
         private String stringOutputType = "base64";*/
         encryptor.setConfig(config);
 
-        String yiits = encryptor.encrypt("PTATMS");
-        String rutis = encryptor.encrypt("PTATMS");
-        log.info("{}", yiits);
-        log.info("{}", rutis);
+        //String yiits = encryptor.encrypt("ROTA");
+        //String rutis = encryptor.encrypt("rota");
+        log.info("     ROTA: {}", encryptor.encrypt("ROTA"));
+        log.info("     rota: {}", encryptor.encrypt("rota"));
+        log.info("    rutis: {}", encryptor.encrypt("rutis"));
+        log.info("    yiits: {}", encryptor.encrypt("yiits"));
+        log.info("yonginits: {}", encryptor.encrypt("yonginits"));
+        log.info("yiits2094: {}", encryptor.encrypt("yiits2094"));
+        log.info("    yibis: {}", encryptor.encrypt("yibis"));
     }
 
     @Test