mirror of
https://gitee.com/willfree/min-dev-java.git
synced 2026-10-04 19:42:01 +08:00
修复bytehelper & VlInt中的已知bug
This commit is contained in:
1 parent
227d10a391
commit
2ad446ca2c
29 files changed
+315
-80
No files matched your search
@@ -0,0 +1,20 @@
|
||||
import minsecurity.crypto.sm2.SM2KeyPair;
|
||||
import org.bouncycastle.pqc.math.linearalgebra.ByteUtils;
|
||||
|
||||
/*
|
||||
* @Author: hongyu guo
|
||||
* @Description:
|
||||
* @Version: 1.0.0
|
||||
* @Date: 17:22 2021/03/15
|
||||
* @Copyright: MIN-Group;国家重大科技基础设施——未来网络北大实验室;深圳市信息论与未来网络重点实验室
|
||||
*/
|
||||
public class testPrivate {
|
||||
private void func1(){
|
||||
System.out.println("private func1");
|
||||
}
|
||||
|
||||
private void func2(int a, SM2KeyPair sm2KeyPair){
|
||||
System.out.println("a = " + a);
|
||||
System.out.println("private key = " + ByteUtils.toHexString(sm2KeyPair.getSm2PrivateKey().getBytes()));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user