fix sm2 bug

This commit is contained in:
Looly
2020-04-14 16:26:32 +08:00
parent b4568dd2e3
commit 8102b31373
4 changed files with 8 additions and 32 deletions

View File

@@ -171,9 +171,7 @@ public class SM2Test {
String id = "31323334353637383132333435363738";
final SM2 sm2 = new SM2(d, x, y);
final String sign = sm2.signHex(data, id);
Assert.assertTrue(sm2.verifyHex(data, sign));
}
}