SM2 national password adaptation method for hyperledge Fabric

A national secret algorithm and adaptive technology, applied in the field of blockchain, can solve the problems of being attacked and high security risks, and achieve the effect of reducing the cost of secondary development and improving the friendliness of internationalization.

Pending Publication Date: 2021-11-12
XIAN UNIV OF TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] At present, more and more international common cryptographic algorithms have been repeatedly rumored to be cracked and attacked, and there are high security risks

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • SM2 national password adaptation method for hyperledge Fabric
  • SM2 national password adaptation method for hyperledge Fabric
  • SM2 national password adaptation method for hyperledge Fabric

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0029] The present invention is an SM2 national secret adaptation method of super account book Fabric, and the transformation idea is as follows figure 1 As shown, the specific steps are as follows:

[0030] Step 1, deploy and build Hyperledge Fabric on Ubuntu18.04;

[0031] In step 2, the Fabric source code obtained after step 1 is adapted to the SM2 national secret, and the specific implementation is as follows:

[0032] Step 2.1, the underlying national secret algorithm embedding based on the Go standard: download the TLS / SSL code base of the SM2 / SM3 / SM4 algorithm code library and the national secret algorithm to the local development environment;

[0033] Step 2.2, the national secret algorithm interface embedding of the BCCSP module:

[0034] BCCSP module national secret algorithm related interfaces are implemented as follows: figur...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an SM2 national password adaptation method for a hyperledge Fabric. The method comprises the following steps: deploying and constructing a Hyperledge Fabric on Ubuntu18.04; performing SM2 national password adaptation on the Fabric source code obtained in the step 1; compiling the Fabric code subjected to SM2 national password adaptation obtained in the step 2 to generate a binary file and a mirror image file; and testing whether the Fabric alliance chain network after the state secret modification can be normally started or not. According to the invention, the support of a Hypergde Fabric project on the realization of different encryption algorithms is better promoted, the possible secondary development cost of password suite transformation when an enterprise uses the method as a block chain solution is reduced, and the internationalization friendliness is improved.

Description

technical field [0001] The invention belongs to the field of block chains, and in particular relates to an SM2 national secret adaptation method of a hyperledger Fabric. Background technique [0002] Hyperledger is a blockchain development platform project hosted by the Linux Foundation, the core project of the Fabric series sub-project Hyperledger, which provides a complete alliance chain application development platform. The Fabric series projects include Fabric, Fabric-ca, Fabric-sdk, etc. Among them, Fabric is the core and basic component of the alliance chain platform, providing blockchain network node deployment, smart contract operating environment construction, transaction initiation and consensus, and distribution Blockchain network core functions such as ledger maintenance. [0003] Cryptography is the most effective, reliable, and economical way to solve network and information security, and it is the core technology and basic support for maintaining network and ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F21/60G06F21/64
CPCG06F21/602G06F21/64
Inventor 张亚玲王宏芸王一川黑新宏姬文江朱磊任炬
Owner XIAN UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products