Description and Constraints
- The PIR operator is in the client/server architecture and supports two-party calling. Compute node 0 is the server, and compute node 1 is the client (the server and client are used for description in the following sections).
- To support quick query, the server needs to perform offline calculation first. The offline calculation is performed only once in the entire query process. The offline calculation result can be released only when the query service is not required.
- The offline calculation is executed only on the server. The parameters are set in the key-value structure, where key is the identifier that the client will use for subsequent queries.
- The number of input data records and the number of key-value pairs on the server do not exceed INT32_MAX. 256 buckets are used for data distribution and query optimization. The hash seed length is fixed at 16 bytes for higher security.
- The communication callback relies on a secure, encrypted transmission channel established by the calling party. The section "API Call Demos" provides a socket-based implementation for reference.
- It is recommended that the maximum number of records to be queried on the client be less than or equal to 10,000.
Parent topic: PIR Operator