From aa4a5bed8aee04498bd17212bd670cc4c253fd93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=98=8C=E6=B2=9B?= <646742615@qq.com> Date: Fri, 8 May 2020 13:42:50 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E5=8A=A0=E8=A7=A3=E5=AF=86=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=A1=AB=E5=85=85=E6=A8=A1=E5=BC=8F=202.=20=E5=8A=A0?= =?UTF-8?q?=E8=A7=A3=E5=AF=86=E6=94=AF=E6=8C=81IV-Parameter=203.=20?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E5=90=AF=E5=8A=A8=E5=99=A8=204.=20=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E5=8D=B1=E9=99=A9=E6=A8=A1=E5=BC=8F=205.=20=E6=8B=BC?= =?UTF-8?q?=E5=86=99=E9=94=99=E8=AF=AF=E4=BF=AE=E6=AD=A3=206.=20=E6=8F=90?= =?UTF-8?q?=E4=BE=9B=E6=99=BA=E8=83=BD=E5=8A=A0=E5=AF=86/=E8=A7=A3?= =?UTF-8?q?=E5=AF=86=E5=99=A8=20=E9=81=BF=E5=85=8D=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=A4=B1=E8=AF=AF=207.=20=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=9A=84=E5=8A=A0=E5=AF=86/=E8=A7=A3=E5=AF=86=E6=96=B9?= =?UTF-8?q?=E6=B3=95=208.=20=E4=BF=AE=E5=A4=8D=E6=9C=89=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E7=9A=84nested-lib=E5=9C=A8=E4=B8=8D?= =?UTF-8?q?=E5=8A=A0=E5=AF=86=E5=85=B6=E5=86=85=E9=83=A8=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E6=83=85=E5=86=B5=E4=B8=8B=E5=90=AF=E5=8A=A8=E6=97=B6=E4=B9=9F?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E9=80=9A=E8=BF=87=E6=A0=A1=E9=AA=8C=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=209.=20=E5=8E=BB=E9=99=A4=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E5=92=8C=E6=89=8B=E8=BE=93=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E7=9A=84=E6=96=B9=E5=BC=8F=E5=8F=AA=E4=BF=9D?= =?UTF-8?q?=E7=95=99Go=E5=90=AF=E5=8A=A8=E5=99=A8=E7=9A=84=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=2010.=20=E5=A2=9E=E5=8A=A0=E5=8F=AF=E8=AF=BB=E6=80=A7?= =?UTF-8?q?=E6=9B=B4=E5=BC=BA=E7=9A=84Fluent=E9=A3=8E=E6=A0=BC=E7=9A=84?= =?UTF-8?q?=E5=8A=A0=E5=AF=86/=E8=A7=A3=E5=AF=86API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/io/xjar/demo/XDemo.java | 35 --------------------------- 1 file changed, 35 deletions(-) delete mode 100644 src/test/java/io/xjar/demo/XDemo.java diff --git a/src/test/java/io/xjar/demo/XDemo.java b/src/test/java/io/xjar/demo/XDemo.java deleted file mode 100644 index 3dca12b..0000000 --- a/src/test/java/io/xjar/demo/XDemo.java +++ /dev/null @@ -1,35 +0,0 @@ -package io.xjar.demo; - -import io.xjar.XCryptos; -import org.junit.Test; - -/** - * XJar Demo - * - * @author Payne 646742615@qq.com - * 2020/5/7 14:31 - */ -public class XDemo { - - @Test - public void testEncrypt() throws Exception { - XCryptos.encryption() - .from("C:\\Users\\Payne\\IdeaProjects\\juniu-wxapp\\juniu-wxapp-web\\target\\juniu-wxapp-web-v1.0.0.jar") - .use("io.xjar") - .include("/cn/regent/juniu/wxapp/**/*") - .to("C:\\Users\\Payne\\IdeaProjects\\juniu-wxapp\\juniu-wxapp-web\\target\\juniu-wxapp-web-v1.0.0.xjar"); - } - - @Test - public void testDecrypt() throws Exception { - XCryptos.decryption() - .from("/path/to/read/encrypted.jar") - .use("password") - .include("/package/name/**/*.class") - .include("/mapper/**/*.xml") - .exclude("/static/**/*") - .exclude("/conf/*") - .to("/path/to/save/plaintext.jar"); - } - -}