Research Article

A Multiuser Ciphertext Search Scheme Based on Blockchain and SGX

Algorithm 2

Data acquisition and search computation.
Input: ; ; ; count;
Output: search result;
(1)Set ;
(2)if (h = ) then
(3)Decrypt ;
(4)Decrypt ;
(5)Decrypt ;
(6)Search computation with ;
(7)if (count ! = 0) then
(8)Encrypted ;
(9)return ;
(10)else
(11)return false;