Research Article

Comparable Encryption Scheme over Encrypted Cloud Data in Internet of Everything

Algorithm 3

Definition of SCESW scheme.
SCESW scheme is a tuple of algorithms including KeyGen, Par, Der, Enc, Cmp,
which are shown as follows:
(i) KeyGen: given the security parameter , range parameter and master
key , the DO runs the algorithm to output the master key and public
parameter .
(ii) Par: given the number , the DO runs the algorithm to output the number
rewritten through its binary code by utilizing sliding window method,
where represents the window size, is the number of blocks and
;
(iii) Der: given the security parameter , range parameter ,
master key and num , the DO runs the algorithm to output a token .
(iv) Enc: given the security parameter , range parameter ,
master key and num , the DO runs the algorithm to generate
the ciphertext and submits it to the CSP.
(v) Cmp: given the public parameter , two ciphertexts
and , and token , the CSP outputs , then it returns the relevant
search results to the user.