alibaba-edu / mpc4j

Apache License 2.0
211 stars 42 forks source link

Question about KeyWordPir #10

Closed banlandadi closed 1 year ago

banlandadi commented 1 year ago

Hello! I would like to know if you could tell me how the indistinguishable degree in the keywordPir(cmg21) is calculated specifically, and how to choose the Cmg21KwPirParams If the server has 100 million data and the client has 100 queries。 Thank you!

gengxu270998 commented 1 year ago

We choose the parameters based on the public library APSI (https://github.com/microsoft/APSI/tree/main/parameters), and the protocol is described in [eprint.iacr.org/2021/1116](https://eprint.iacr.org/2021/1116). If the server has 100 million elements, you may choose the parameter as https://github.com/microsoft/APSI/blob/main/parameters/256M-1024.json or https://github.com/microsoft/APSI/blob/main/parameters/16M-4096-32.json .

banlandadi commented 1 year ago

Thank you !

liuweiran900217 commented 1 year ago

I am wondering if we can close the issue?

banlandadi commented 1 year ago

Sure,thank you all for answering!