Research Article

Comparable Encryption Scheme over Encrypted Cloud Data in Internet of Everything

Algorithm 1

The sliding window method [32].
Input: two numbers and where represents base and represents exponent
Output:   
for  all    do
Compute and store ;
   is divided into zero windows and non-zero windows of length
where represents the length of windows;
for    do
Compute the value of ;
  for    do
Compute and store ;
  if    then
Compute and store ;
else
is a zero window.
 Return ;