Research Article

A Layered Searchable Encryption Scheme with Functional Components Independent of Encryption Methods

Algorithm 2

Encryption (symmetric): Enc .
Input: the encryption key , the documents ).
Output:
(1) : encrypted documents ).
(2) : global searchable structure (index-based).
(3) : local functional structures ).
Method:
(1) compute SSE·Enc ). Here ).
(2) for each document and the corresponding ( ) do
(3)  scan for all words to form a word list ).
(4)  for each word ( ) in   do
(5)   compute SSE·Token ).
(6)   compute ).
(7)  end for
(8)  let ).
(9)  for each functional component ( ) do
(10)   compute ·Build ).
(11)  end for
(12)  append ) to .
(13) end for
(14) let and ), and output ).