6

Imagine, a client encrypts a corpus of data (say documents of text) with the public key of a Fully Homomorphic Encryption scheme (FHE) and outsources the data to an untrusted server.Now the client wants search for a particular word in the corpus of encrypted documents and retrieve the matching documents that contain the word as a result. So the client could encrypt the search word with public key of FHE scheme and send to the server. The server would evaluate a "equality circuit" for blind folded matching using Evaluate method of FHE scheme. Remember the result (in this case it is MATCH or NO MATCH) also is encrypted in FHE schemes and hidden from the untrusted server.

Now my paradox begins, Does this mean server does not know whether the string matches the document ?

  1. If the server does not know how will it retrieve and send those matching documents alone ?
  2. If the server knows whether the string matches or not in this particular case will such FHE scheme considered secure at all ?
  3. Is this situation any better if the FHE scheme is probabilistic or deterministic ?

On a side note, the above need not be for a word (as in words of a text) equality checking, the same argument could be given for numerical equality checking (arithmetic circuits) as well. Any comments on this paradox ?

sashank
  • 6,174
  • 4
  • 32
  • 67
  • How should the server learn the result if it cannot decrypt? Your setting as it is does not really make sense . What would the server return? If you want to have keyword equality, look for searchable encryption. – DrLecter Nov 29 '15 at 16:51
  • ​ The server will use the FHness of the encryption scheme. ​ ​ ​ 3. ​ No ​ ​ ​ ​ ​ ​ ​ ​
  • –  Nov 30 '15 at 00:19
  • @DrLecter , If i want keyword equality, can't we do with FHE? – sashank Nov 30 '15 at 02:21
  • @RickyDemer The server uses FHness of encryption scheme but then does not the result , does that mean Equality Checking cannot be done using FHE ? – sashank Nov 30 '15 at 02:22
  • "does not the result"? ​ (You seem to be missing a verb.) ​ There's certainly no obvious way of using FHE to let the ciphertext-holder non-interactively check equality. ​ ​ ​ ​ –  Nov 30 '15 at 08:47
  • @RickyDemer "does not know the result" . Oh is there a reference for that ? on non-interactivity of checking ? – sashank Nov 30 '15 at 08:57
  • I doubt it. ​ ​ –  Nov 30 '15 at 09:11
  • Are you aware of this question? – mikeazo Nov 30 '15 at 14:10
  • @mikeazo yes i did see that question, which is different than mine – sashank Nov 30 '15 at 14:11