Research Article

Blockchain-Enabled Public Key Encryption with Multi-Keyword Search in Cloud Computing

Algorithm 1

Ciphertexts retrieval.
(1)if and $userdeposit Gaslsrch $gasprice + $offer then;
(2) Compute , , ;
(3) if is the same as then;
(4)  Return the file indexes to CS;
(5) else;
(6)  Return 0;
(7) Set =+;
(8) Send to . Then, send to executor of a deal;
(9) Finally, set =-;
(10)else;
(11)Send to ;
(12)end;