google / hintless_pir

Apache License 2.0
13 stars 5 forks source link

Running client and server separately #11

Closed jayavanth closed 2 months ago

jayavanth commented 3 months ago

Hello, is there a way currently to run the client and server as separate processes over a network? If not, is it easy to do that?

b5li commented 3 months ago

Yes, you can instantiate hintless_pir::hintless_simplepir::Server and hintless_pir::hintless_simplepir::Client in separate processes. The interface of these two are fairly simple, and for communication the client would just need to send HintlessPirRequest to the server, and the server would send HintlessPirResponse back to the client.

jayavanth commented 3 months ago

Do I have to handle serialization and deserialization myself?

jayavanth commented 3 months ago

ok I was able to do the serialization and deserialization