Method and system for generating application-level random number on block chain
The invention belongs to the technical field of block chains, and provides a method and system for generating an application-level random number on a block chain. According to the method, a signature private key is used for conducting digital signature on an application random number in a previous b...
Saved in:
Main Authors | , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
18.04.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention belongs to the technical field of block chains, and provides a method and system for generating an application-level random number on a block chain. According to the method, a signature private key is used for conducting digital signature on an application random number in a previous block, the digital signature serves as the application random number in the block, after other nodes participating in consensus receive a new block, the application random number in the block is verified, voting is conducted on the verified application random number, and the application random number in the block is obtained. And determining a new random number so as to achieve the purpose of obtaining the random number meeting the requirements of an application layer.
本发明属于区块链技术领域,本发明提供一种区块链上生成应用级别随机数的方法及系统。所述方法使用签名私钥对上一个块中的应用随机数进行数字签名,并将所述数字签名作为本块中的应用随机数,其他参与共识的节点接收到新区块后,对所述本块中的应用随机数进行验证,并对验证的应用随机数进行投票,确定新的随机数,以达到获得符合应用层要求的随机数的目的。 |
---|---|
Bibliography: | Application Number: CN202211541645 |