Research Article

BFR-SE: A Blockchain-Based Fair and Reliable Searchable Encryption Scheme for IoT with Fine-Grained Access Control in Cloud Environment

Algorithm 11

IsResultReady.
Input:
Output: bool
1 s = search_idx.find()
2 rlt = result_idx.find()
3 if s.SerialNum == rlt.SerialNum && rlt.! = null then
4  return true
5 else
6  return false
7 end