Research Article

A Multiuser Ciphertext Search Scheme Based on Blockchain and SGX

Algorithm 1

Privacy protection of data owner A's data.
Input: Session key ; A's data ; Search P;
Output: Transaction txdata;
(1)Encrypted Owner data and ;
(2)Encrypted k;
(3)Set and ;
(4)Set ;
(5)Set ;
(6)Send Set to the DS and get addr;
(7)Generate timestamp ts1;
(8)Set txdata = {Ekey, H, addr, ts1};
(9)Return txdata;