The invention relates to the field of
data sharing, and particularly discloses an
access control method based on outsourcing calculation and attribute-based searchable
encryption on a block chain, comprising the following steps: S1, an
attribute authority initializes to generate a
system public key and a
master key, and generates an attribute private key of a user; s2, the data owner formulates an
access control strategy to assist the outsourcing
encryption service provider in partial
encryption, and the data user and the outsourcing encryption
service provider encrypt the keyword, the data
ciphertext storage address and the symmetric key and upload the encrypted
ciphertext to the block chain for storage; s3, the data user generates a search
trap door and sends the search
trap door to the block chain, and user attributes are verified; and S4, the data user assists the outsourcing decryption
service provider in partially decrypting the
ciphertext, locally decrypting to obtain the data storage address and the symmetric key, downloading the data ciphertext, and decrypting by using the symmetric key to obtain the data
plaintext. According to the invention, the calculation burden of encryption and decryption of a local user is reduced, and the sharing efficiency and security of data are improved.