Research Article

Low Communication-Cost PSI Protocol for Unbalanced Two-Party Private Sets

Algorithm 2

GenKey ().
Input:G,S0,⋅,Sci,
Output:Gi
  Form = 0 to n−1
   m′ = 0
   WhileSci,m ≠ S0,m
    m′ = m′ + 1
   EndWhile
   
   
 EndFor