secure_inner_join.helper module
Module contains Helper class (Henri) for performing secure set intersection
- class secure_inner_join.helper.Helper(*args, **kwargs)[source]
Bases:
Player
Class for a helper party
- __init__(*args, **kwargs)[source]
Initializes a helper instance
- Raises:
ValueError – raised when (at least) one of data parties is not in the pool.
- async combine_and_send()[source]
Computes the intersection size and sends the result to the data parties
- Return type:
None
- property intersection_size: int
The size of the intersection between the identifier columns of the data parties
- Returns:
the intersection size
- Raises:
AttributeError – raised when the intersection size cannot be determined yet
Receive the random shares from the data parties and processes them
- Return type:
None
- async receive_data(party)[source]
Receive encrypted attributes and hashed identifiers from party
- Parameters:
party (
str
) – name of the party to receive data from- Return type:
None