From 2f144badd5ed716921587f4b11690775cdff8cc3 Mon Sep 17 00:00:00 2001 From: "junj2.liang" Date: Tue, 13 Sep 2022 14:53:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/test/FuncTest.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/test/java/test/FuncTest.java b/src/test/java/test/FuncTest.java index d7fc6ae..ae1789d 100644 --- a/src/test/java/test/FuncTest.java +++ b/src/test/java/test/FuncTest.java @@ -6,6 +6,8 @@ import org.apache.logging.log4j.Logger; import org.junit.Before; import org.junit.Test; +import java.util.Arrays; + /** * 功能确认 */ @@ -36,14 +38,16 @@ public class FuncTest { @Test public void sm3(){ SydApiBuilder builder = new SydApiBuilder( - new String[]{ "192.168.0.200" }, + new String[]{ "192.168.1.129" }, new int[]{ 8889 }, 10, 15 ); api = builder.build(); - + byte[] bytes = api.SYD_SM4_LongData(1, new byte[16], 0, 1); + String s = Arrays.toString(bytes); + System.out.println(s); }