Blockchain-based key generation method and apparatus, and medium

A key generation and blockchain technology, applied in the blockchain field, can solve the problems of malicious tampering of keys, low security and reliability, and difficulty in ensuring the legitimacy of individual nodes, so as to improve security and reliability. , to ensure the effect of safety and reliability

Active Publication Date: 2018-10-26
吕晟珉
View PDF7 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since it is difficult to guarantee the legitimacy of a single node, the generated key may be maliciously tampered with. Therefore, relying only on a certain node to generate the key of a node group has low security and reliability, which in turn reduces the blockchain security. Under the mechanism, the security and reliability of data transmission or digital signature between node groups

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
  • Blockchain-based key generation method and apparatus, and medium
  • Blockchain-based key generation method and apparatus, and medium
  • Blockchain-based key generation method and apparatus, and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] figure 1 It is a flowchart of a blockchain-based key generation method provided by an embodiment of the present invention. Please refer to figure 1 , the specific steps of the block chain-based key generation method include:

[0038] Step S10: Select a node group containing preset blockchain nodes, and control each blockchain node in the node group to generate its own initial secret.

[0039] It should be noted that the node group in this step is a group formed by artificially dividing the nodes in the blockchain network according to specific needs, and the nodes in the group are artificially preset blockchain nodes. The purpose of generating the initial secret for each blockchain node in the node group is to jointly participate in the generation of the corresponding key of the node group. The essence of the initial secret is the data generated by the preset mechanism, which can theoretically be a block The private key of the chain node itself for data transmission a...

Embodiment 2

[0055] On the basis of the above embodiments, the present invention also provides the following series of preferred implementation manners.

[0056] As a preferred implementation, when the elliptic curve with bilinear pairing characteristics is used to generate the consensus key, after controlling each blockchain node to accumulate the shared secret fragments to generate the group secret, the method Further includes:

[0057] Control each block chain node to digitally sign the preset message with the same content through its own group secret to obtain signature data, and share the signature data to all block chain nodes in the node group including itself;

[0058] The target blockchain nodes in the control node group use the Lagrange interpolation algorithm to operate on the preset number of signature data to generate the consensus signature data of the node group.

[0059] It should be emphasized that it is feasible to digitally sign preset messages with the same content thr...

Embodiment 3

[0067] The embodiment of the block chain-based key generation method has been described in detail above, and the present invention also provides a block chain-based key generation device corresponding to the method, because the embodiment of the device part is the same as The embodiments of the method part correspond to each other, so for the embodiments of the device part, please refer to the description of the embodiments of the method part, and details will not be repeated here.

[0068] figure 2 A structural diagram of a block chain-based key generation device provided by an embodiment of the present invention. The block chain-based key generation device provided by the embodiment of the present invention includes:

[0069] The group selection module 10 is configured to select a node group including preset blockchain nodes, and control each blockchain node in the node group to generate its own initial secret.

[0070] The fragment sharing module 11 is used to control ea...

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 blockchain-based key generation method and apparatus, and a medium. The method comprises the following steps: selecting a node group comprising preset blockchain nodes, and controlling each blockchain node in the node group to generate a respective initial secret; controlling the blockchain nodes to respectively use the own initial secrets as operation factors to generatesecret fragments according to the Shamir key sharing algorithm, and to share the secret fragments with all blockchain nodes containing themselves in the node group; controlling the blockchain nodes to perform accumulation operation on the shared secret fragments to generate a group secret; obtaining a preset threshold number of target blockchain nodes in the node group, and generating a consensuskey of the node group through the Lagrange interpolation algorithm. By adoption of the method disclosed by the invention, the security and reliability of the node group key generated under the blockchain mechanism are ensured. In addition, the invention further provides a blockchain-based key generation apparatus and a medium, which have the same beneficial effects as described above.

Description

technical field [0001] The present invention relates to the field of blockchain, in particular to a method, device and medium for generating a key based on blockchain. Background technique [0002] With the rise of digital currency, blockchain technology as the underlying support has attracted widespread attention from the industry. Blockchain technology, with its advantages of decentralization, credible and traceable information, has caused the industry to explore the practical application of blockchain. [0003] In the underlying technology of the blockchain, a large number of cryptographic algorithms are used, such as the cryptographic algorithms for keeping the communication between network nodes confidential, ensuring that the message is not tampered with in the process of transmission, and the receiver confirms that the source of the message is correct. The key is the result generated by a cryptographic algorithm and is used for data encryption or digital signature. ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L9/32H04L9/08H04L29/06
CPCH04L9/0861H04L9/3252H04L63/06H04L9/085H04L9/3239H04L9/50
Inventor 吕晟珉胡红钢吴轶群
Owner 吕晟珉
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