Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Block chain cryptograhic adaptation method, national secret adapter, system and device

A block chain and adapter technology, applied in the field of block chain encryption, can solve the problems of unfavorable research and development efficiency and system stability, and the inability to get through multiple encryption algorithms, so as to achieve the effect of stability

Active Publication Date: 2021-09-28
HANGZHOU YUNXIANG NETWORK TECH
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In addition, because there is no specific standard for the national secret algorithm, it is difficult to apply national secrets to various cryptographic algorithms in the blockchain, that is, it is impossible to get through a variety of encryption algorithms to adapt to the national secret algorithm
[0003] There are a variety of encryption machines or encryption algorithms on the market, and the specific implementation details of each encryption machine or encryption algorithm are slightly different. If you adapt to different encryption algorithm implementations each time, you need to make a lot of changes to the code, which is not conducive to research and development efficiency. and system stability

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
  • Block chain cryptograhic adaptation method, national secret adapter, system and device
  • Block chain cryptograhic adaptation method, national secret adapter, system and device
  • Block chain cryptograhic adaptation method, national secret adapter, system and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] The present invention proposes a block chain national secret adaptation method, and the specific implementation steps include:

[0040] Step1: Response to the block chain password service module (BCCSP module) initialization request;

[0041] Step2: The GM Adaptor component is ready to initialize the service, start the configuration file of the block chain password service module (BCCSP module), and initialize the GMAdaptor component with the configuration content of the configuration file through the GMAdaptor plug-in, such as figure 1 shown; among them,

[0042] The specific implementation steps of the initialization of the GMAdaptor component include:

[0043] S21: Obtain the blockchain server initialization request, and the BCCSP module starts the configuration file based on the GMAdaptor component;

[0044] S22: The GMAdaptor component performs an initialization operation according to the configuration content of the BCCSP module;

[0045] S23: Set the GMAdaptor...

Embodiment 2

[0052] A block chain national secret adapter, the specific composition includes:

[0053] National secret adapter (GMAdaptor) plug-in: used to initialize the national secret adapter (GMAdaptor) component according to the configuration content of the configuration file;

[0054] National secret adapter component: used to adapt various underlying national secret algorithms according to different configurations, such as SM2, SM3 or SM4, and provide a defined password interface port for nodes (Peer nodes or Orderer nodes) in the blockchain network;

[0055] Define the cryptographic interface end: it is used to support various cryptographic algorithms to adapt to the encryption machine (hardware implementation through the Tongji encryption machine, software implementation through the Xinan encryption machine or other implementations can also be used) in the blockchain server.

[0056] The number of modules and processing scales described here are used to simplify the description of...

Embodiment 3

[0058] A blockchain national secret adaptation system including a blockchain national secret adapter, the specific components include:

[0059] Blockchain cryptographic service module (BCCSP module): Provides configuration files and configuration content for initialization of national secret adapters;

[0060] National secret adapter (GMAdaptor): used to start the configuration file of the BCCSP module for initialization; used to adapt a variety of underlying national secret algorithms according to different configurations, such as SM2, SM3 or SM4, for nodes in the blockchain network (Peer node or Orderer node) provides a defined password interface;

[0061] Blockchain server: used to provide various national secret algorithm services adapted by the national secret adapter.

[0062] Among them, the composition of GMAdaptor includes:

[0063] GMAdaptor plug-in: located in the BCCSP module, used to initialize the GMAdaptor component according to the configuration content of th...

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 a block chain cryptographic adaptation method, a cryptographic adapter and a storage medium. The method comprises the following steps: a block chain cryptographic service module initialization request is responded to; the cryptographic adaptercomponent prepares an initialization service, starts a configuration file of the block chain password service module, and initializes the cryptographicadapter component through a cryptographic adapterplug-in according to the configuration content of the configuration file; and the initialized cryptographic adapter component adapts to various underlying cryptographic algorithms according to different configurations, and provides a defined password interface end for nodes in the block chain network to support various cryptographic algorithms to adapt to a block chain server in the encryption machine. On the basis of the cryptographic adaptation method, pluggable of the cryptographic library can be achieved, and the purpose of using different cryptographic libraries is achieved.

Description

technical field [0001] The invention belongs to the technical field of block chain encryption, and in particular relates to a block chain national secret adaptation method, a national secret adapter, a system and a device. Background technique [0002] At present, mainstream blockchain companies try to apply national secrets to the blockchain, mainly focusing on: (1) replacing SHA-256 with SM3 as the default cryptographic hash algorithm; (2) replacing the elliptic curve signature algorithm with SM2 as Asymmetric encryption algorithm; (3) Replace RSA and elliptic curve algorithm certificates with SM2 certificates. For upper-layer protocols such as SSL, less is involved, and blockchain-related hardware facilities, such as hardware wallets, are rarely designed using national secret standards. In addition, because there is no specific standard for the national secret algorithm, it is difficult to apply national secrets to various cryptographic algorithms in the blockchain, that...

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): H04L9/08H04L9/32G06F21/60
CPCH04L9/0861H04L9/3247H04L9/3236G06F21/602H04L2209/12H04L9/50
Inventor 黄步添方航苑振霞刘成永罗春凤何钦铭
Owner HANGZHOU YUNXIANG NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products