The application discloses a kind of distributed data
encryption sharing methods based on block chain, and using block chain realizes the traceable management of search and
authorization process.The scheme is first by multi-
authorization center to carry out
distributed management to
attribute domain, and generates attribute key associated with identity for user;In access
verification link, construct parameter masking
mechanism based on
bilinear pairing, so that user attribute private key is not directly exposed in block chain
verification and query process.Secondly, data owner carries out layered
encryption to shared data and
session key, and constructs the improved multi-key search structure, index and
ciphertext positioning information are recorded to block chain, to support fast positioning target
ciphertext.In addition, the application uses linear
secret sharing to set
access structure, and designs subset determination mechanism of general attribute name set, binds the download permission of
ciphertext with the attribute condition that user can satisfy, to prevent overreach download behavior.Finally, with the help of cloud, outsourcing decryption is executed to generate intermediate result, and terminal only needs to complete light
recovery and decryption.The application can give consideration to fine-grained control, high-performance search access and terminal side
low load, and is suitable for secure data
encryption sharing in resource-limited scene.