Research Article

Tree-Based Public Key Encryption with Conjunctive Keyword Search

Algorithm 4

Creating leaf nodes.
 Input: a group of keyword sets , where is the keyword set of and .
 Output: A group of leaf nodes.
(1)for each do
(2)Constructs a leaf node of , sets , , be the identifier of , and generates and according to the keywords conversion method and Algorithm 1, respectively;
(3)Inserts to ;
(4)end for
(5)returnCurrentNodeSet