Partial search encrypted data

Hi,

Our company is considering to encrypt all the personal information data, e.g. first name, last name, email, etc. And we also want to support the partial match of those personal information.

The current idea is :

  1. apply ngram analyzer to the personal information
  2. use deterministic encryption algorithm to encrypt every token
  3. index the encrypted token
  4. during search, encrypt the search term user entered, then use the encrypted search term for the search

Any advice/suggestions?

Thanks!

1 Like