| CPC H04L 9/085 (2013.01) [H04L 9/0866 (2013.01); H04L 9/0891 (2013.01); H04L 9/30 (2013.01); H04L 9/3213 (2013.01)] | 20 Claims |

|
1. A method for sharing encrypted data, comprising:
receiving a data sharing request sent by a data owner, and generating a data owner public key and a data owner private key according to an identity identifier of the data owner in the data sharing request;
generating a data user public key according to an identity identifier of a data user in the data sharing request, and generating a proxy re-encryption key based on the data user public key and the data owner private key;
encrypting shared data based on the data owner public key, and uploading the encrypted data to a data processing center for storing;
in response to receiving a request for obtaining shared data from the data user, obtaining a corresponding proxy re-encryption key and corresponding encrypted data based on the request for obtaining shared data, and re-encrypting the corresponding encrypted data based on the corresponding proxy re-encryption key to obtain re-encrypted data; and
obtaining a data user private key of the data user and decrypting the re-encrypted data based on the data user private key to obtain the shared data.
|