osu-crypto / libPSI

A repository for private set intersection.
Other
168 stars 47 forks source link

Question about correctness #30

Closed TY-cc closed 2 years ago

TY-cc commented 2 years ago

i created two .csv as input of psi. The contents of one csv is 1 to 1048576, another contents is 800001 to (1048576+800000). but the result is not the last 200000 items of 1 to 1048576. why?

i am not good at English , sorry. But i hope you can understand my means.

ladnir commented 2 years ago

I'll take a look

ladnir commented 2 years ago

the result of the PSI is the index of the intersection. Let I be the output file and R be the receiver's set, then you can get the actual intersection as { r_i \in R | i \in I}

TY-cc commented 2 years ago

thanks, i'll try