Data authorization method and device based on block chain, storage medium and electronic equipment
The invention relates to the technical field of block chains, and provides a data authorization method and device based on a block chain, a computer readable storage medium and electronic equipment. The method comprises the following steps: in response to a request for storing transaction data in a...
Gespeichert in:
Hauptverfasser: | , , , , , , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to the technical field of block chains, and provides a data authorization method and device based on a block chain, a computer readable storage medium and electronic equipment. The method comprises the following steps: in response to a request for storing transaction data in a block chain, generating a symmetric key, and encrypting the transaction data according to the symmetric key to obtain encrypted transaction data; encrypting the symmetric key by using a public key in an asymmetric key pair generated for a participant in the block chain in advance to obtain an encrypted symmetric key corresponding to the participant; and storing the encrypted transaction data and the encrypted symmetric key in the block chain so as to access the transaction data according to the private key in the asymmetric key pair corresponding to the participant. According to the scheme, the transaction data in the block chain is accessed based on the generated symmetric key and the asymmetric key, so that the c |
---|