Research Article
Tree-Based Public Key Encryption with Conjunctive Keyword Search
Algorithm 3
A merging algorithm for two “0-1” vectors.
| Input: two “0-1” vectors and | | Output: a new “0-1” vector obtained by merging and . | | (1) | Creates a zero vector whose length is . | | (2) | fordo | | (3) | ifor then | | (4) | = 1 | | (5) | end if | | (6) | end for | | (7) | = 1; | | (8) | return |
|