OpenMined / PSI

Private Set Intersection Cardinality protocol based on ECDH and Bloom Filters
Apache License 2.0
134 stars 36 forks source link

Add data structure enum to Python bindings #145

Closed s0l0ist closed 1 year ago

s0l0ist commented 1 year ago

Description

Update the Python bindings to take in an optional DataStructure argument for CreateSetupMessage. This allows the user to customize the behavior of the backing datastructure - i.e. to select between the default (GCS) or specify BloomFilter. The previous behavior always selected GCS so if the parameter is omitted, the behavior will remain the same.

Affected Dependencies

How has this been tested?

Modified the Python tests to include the new function argument. All CI tests pass.

Checklist