Qi CAO, Shuhua RUAN, Xingshu CHEN, et al. Embedding of national cryptographic algorithm in Hyperledger Fabric[J]. Chinese Journal of Network and Information Security, 2021, 7(1): 65-75.
DOI:
Qi CAO, Shuhua RUAN, Xingshu CHEN, et al. Embedding of national cryptographic algorithm in Hyperledger Fabric[J]. Chinese Journal of Network and Information Security, 2021, 7(1): 65-75. DOI: 10.11959/j.issn.2096-109x.2021007.
Embedding of national cryptographic algorithm in Hyperledger Fabric
Hyperledger Fabric is an extensible alliance blockchain platform and provides support for enterprise-level commercial blockchain projects.The cryptographic algorithm is the core technologies of the platform
ensuring the security and non-tampering of the data on the chain.But the original Fabric platform lacks the national cryptographic algorithm support.The embedding and support of the national cryptographic algorithm of the Fabric platform was designed and implemented.Firstly
the interaction logic of between components and the invocation scenario of each type of cryptographic algorithm in the Fabric platform were analyzed
an idea of embedding national cryptographic algorithm support for the platform was proposed.Secondly
the modules and interfaces for SM2
SM3 and SM4 were added to BCCSP of the Fabric platform based on the open source code of national cryptographic algorithm implementation.Thirdly
the interface of cryptographic algorithm invoked by the upper layer of each component is associated to the interface of corresponding national cryptographic algorithms
which realized the invocation support of national cryptographic algorithm for the upper layer applications.Finally
the correctness and effectiveness of the embedded national cryptographic algorithm were verified by creating a fabric-gm test instance.And compared with the performances of the test instance built by the mirror of the native Fabric platform.The experimental results show that the embedded national cryptographic algorithm interfaces are corrected and the generated national cryptographic certificates are effective.Moreover
compared with the native Fabric platform
the network start up time increases by about 3%.In the millisecond unit
the transaction time cost increases by about one time
the dynamic certificate generation time increases by about 9%
and all the performance are within the acceptable range.
DONG Y K , ZHANG D W , HAN Z , et al . Board voting system based on the consortium blockchains [J ] . Chinese Journal of Net-work and Information Security , 2017 , 3 ( 12 ): 31 - 37 .
PAN C , LIU Z Q , LIU Z , et al . Research on scalability of block-chain technology:problems and methods [J ] . Journal of Computer Research and Development , 2018 , 55 ( 10 ): 7 - 18 .
GUEGAN D . Public blockchain versus private blockhain [J ] . documents de travail du centre deconomie de la sorbonne , 2017 .
An introduction to hyperledger [EB ] .
中华人民共和国金融行业标准 . 金融分布式账本技术安全规范 [EB ] .
Financial industry standard of the people's Republic of China . Se-curity specification for financial distributed ledger technology [EB ] .
国家密码管理局 . SM2椭圆曲线公钥密码算法 [EB ] .
State Cryptography Administration . Public key cryptographic algo-rithm sm2 based on elliptic curves [EB ] .
GUO Q X , ZHANG D W , CHANG L , et al . Design and implemen-tation of proxy-protected proxy signature based on SM2 [J ] . Chinese Journal of Network and Information Security , 2017 , 3 ( 9 ): 47 - 54 .
SHAO M L , YIN X C , LI Y M . Implementation of SM3 algorithm based on SoPC component [J ] . Chinese Journal of Network and In-formation Security , 2017 , 3 ( 5 ): 47 - 53 .
Tongji blockchain Research Institute . Hyperledger-Fabric-gm [EB ] .
ANDROULAKI E , BARGER A , BORTNIKOV V , et al . Hyperledger Fabric:a distributed operating system for permissioned blockchains [C ] // Proceedings of the Thirteenth EuroSys Conference (EuroSys '18).Association for Computing Machinery . 2018 : 1 - 15 .
Ring adaptor signature scheme based on SM2 digital signature algorithm
Survey of decentralized public key infrastructure
Chameleon hash function based on SM3 and its applications
Efficient anonymous authentication protocol for internet of vehicles based on Chinese cryptographic SM2
Blockchain smart contract vulnerability detection based on GR algorithm
Related Author
Xu Xinyue
Xu Shujiang
Wang Lianhai
Zhang Shuhui
Shao Wei
Wang Qizheng
SHI Chaoming
YAN Zheng
Related Institution
Shandong Provincial Key Laboratory of Industrial Network and Information System Security, Shandong Fundamental Research Center for Computer Science
Key Laboratory of Computing Power Network and Information Security, Ministry of Education, Shandong Computer Science Center (National Supercomputer Center in Jinan), Qilu University of Technology (Shandong Academy of Sciences)