The invention discloses a searchable
encryption method and device based on an sm4
algorithm, and the method comprises the following steps: a secret
key generation step: a data owner generates two secret keys s1 and s2 corresponding to the SM4
algorithm based on preset security parameters, s1 and s2 belong to {0, 1} k, k is the length of the secret key, and s1 and s2 serve as
encryption operation basic secret keys of the SM4
algorithm; through innovative fusion of the SM4 algorithm and the searchable
encryption technology, the technical breakthrough of efficient retrieval,
low resource consumption and strong adaptability is realized on the premise of ensuring the security and privacy of
cloud data, the core contradiction that security and efficiency are difficult to consider in the prior art is solved, and the security and privacy of the
cloud data are ensured. The method can be widely applied to scenes with high requirements on
data security and retrieval efficiency, such as
personal cloud storage, enterprise-level document management, medical
data sharing and the like, and has extremely high commercial value and application prospect.