Research Article

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

Algorithm 10

IsVerifyRound.
Input:
Output: bool
1 s = search_idx.find()
2 if (getCurrentHeight() > (s.Height + round_height)) &&
  (getCurrentHeight() < (s.Height+2round_height)) then
3  returntrue
4 else
5  returnfalse
6 end