FISCO-BCOS / go-sdk

golang SDK of FISCO BCOS
Apache License 2.0
73 stars 58 forks source link

怎么使用国密创建账户? #190

Open zz-zc opened 1 year ago

zz-zc commented 1 year ago

https://github.com/FISCO-BCOS/go-sdk/tree/master/doc 文档里好像只有非国密账户的生成方式,不知道国密账户要如何生成,谢谢!

bxq2011hust commented 1 year ago

可以看一下smcrypto.ToSM2这个接口,参数是32字节的随机字节

https://github.com/FISCO-BCOS/go-sdk/pull/191/files