Private Set Intersection (FHE-based)
Two parties want to learn which elements they share without exposing non-matching entries. This variant uses Fully Homomorphic Encryption: the receiver encrypts their set under an FHE scheme and sends the ciphertexts; the sender homomorphically evaluates a matching polynomial against its own plaintext set and returns masked encrypted results; the receiver decrypts to learn the intersection. The construction suits asymmetric set sizes, minimises round count, and reduces to LWE/RLWE hardness for post-quantum security.
Two parties want to learn which elements they share without exposing non-matching entries. This variant uses Fully Homomorphic Encryption: the receiver encrypts their set under an FHE scheme and sends the ciphertexts; the sender homomorphically evaluates a matching polynomial against its own plaintext set and returns masked encrypted results; the receiver decrypts to learn the intersection. The construction suits asymmetric set sizes, minimises round count, and reduces to LWE/RLWE hardness for post-quantum security.
- FHE scheme (BFV or BGV) with SIMD/batching encoding so multiple plaintexts pack into one ciphertext.
- Receiver's public and secret key pair, freshly generated per session.
- Authenticated channel for ciphertext transport in both directions.
- Sender-side matching polynomial construction, homomorphic evaluation, and randomised masking of result ciphertexts.
- Optional labelled-PSI extension that attaches encrypted payloads to matched items so the receiver also recovers associated metadata.
Guarantees:
- Input privacy: the sender sees only ciphertexts, the receiver learns matches on its own elements only.
- Post-quantum security at the cryptographic layer: reduces to LWE and RLWE, which resist known quantum attacks.
- Completeness: all shared elements are surfaced at the receiver's side (minimal false negatives).
- Soundness: randomised masking on the sender side keeps false positives negligible.
Threat model:
- LWE and RLWE hardness at the chosen parameters, with parameter selection tracking post-quantum guidance.
- Honest key generation by the receiver and honest polynomial construction and masking by the sender.
- Authenticated transport around the ciphertext exchange; classical authentication layers still need separate PQ migration.
- Out of scope: statistical leakage from repeated sessions if the receiver reuses identical inputs without rerandomising.
- Ciphertext expansion is significant (orders of magnitude larger than plaintext). Communication scales with the receiver's set size, so the receiver should hold the smaller set.
- Homomorphic polynomial evaluation is compute-intensive on the sender side; cost is roughly O(m * sqrt(n)) FHE multiplications.
- SIMD batching is essential for practical performance.
- The base protocol reveals the intersection only to the receiver. A bilateral result requires a second round with reversed roles, doubling communication and compute.
- Semi-honest by default; malicious security requires zero-knowledge proofs over the sender's polynomial evaluation.
A regulator holds a watchlist of 10k entities and a bank holds 2M client account identifiers. The regulator acts as receiver and encrypts its 10k identifiers, sending the ciphertexts to the bank. The bank homomorphically evaluates the matching polynomial over the 10k encrypted identifiers against its 2M accounts and returns masked encrypted results. The regulator decrypts and discovers 47 of its watchlist entities appear among the bank's clients. The bank learns nothing about the remaining 9,953 watchlist entries. To learn which clients matched, the parties run a symmetric round with reversed roles.