修复bytehelper & VlInt中的已知bug

This commit is contained in:
ghy committed 2021-03-15 20:46:03 +08:00
1 parent 227d10a391
commit 2ad446ca2c
29 files changed
+315 -80

No files matched your search

@@ -165,7 +165,14 @@ public class SM2Base {
parameterSpec.getN(), parameterSpec.getH());
return new ECPublicKeyParameters(ecPubKey.getQ(), domainParameters);
}
/**
* 生成一对sm2公私钥
* @param
* @return minsecurity.crypto.sm2.SM2KeyPair
* @throws
* @author hongyu guo
* @date 2021/3/15
**/
public static SM2KeyPair generateSM2KeyPair(){
return SM2KeyPair.generateKeyPair();
}