This invention provides a searchable
encryption method, apparatus, device, storage medium, and program product. The method includes: responding to a search trapdoor submitted by a
data access tenant, determining a keyword in the search trapdoor; determining whether a matching
ciphertext exists based on
system public parameters, the keyword, and the trapdoor component of the search trapdoor; determining that a matching
ciphertext exists, and sending the intermediate
ciphertext corresponding to the ciphertext to the
data access tenant, so that the
data access tenant can access the data corresponding to the ciphertext according to the data access tenant's tenant key; the search trapdoor is obtained based on the keyword of the data to be accessed by the data access tenant,
system public parameters, the data access tenant's tenant key, and the data access tenant's attribute vector; the ciphertext is obtained based on the keyword of the data to be shared by the
data sharing tenant, the access vector of the access policy,
system public parameters, and offline ciphertext.