Expand description
Privacy-preserving computation + distributed systems patterns.
PSI, PIR, differential privacy, feature flags, API versioning, schema registry, 2PC, WAL streaming, snapshot isolation, homomorphic MAC.
Structs§
- ApiVersion
- ApiVersion
Registry - Feature
Flag - Feature
Flags - Homomorphic
Mac - MAC that supports homomorphic addition: MAC(m1+m2) = MAC(m1) + MAC(m2).
- MacTag
- PirQuery
- XOR-based PIR (2 servers): each server gets a random subset; XOR of responses gives the desired element.
- PirResponse
- Schema
- Schema
Registry - Snapshot
- Snapshot
Store - TwoPc
Coordinator - TwoPc
Participant - WalStream
Entry - WalStreamer
Enums§
Functions§
- dp_
count - Counting query with DP: report noisy count.
- dp_
query - Add Laplace noise to a numeric query result.
- gaussian_
noise - Gaussian mechanism: add Gaussian noise.
- laplace_
noise - Laplace mechanism: add noise calibrated to sensitivity and epsilon.
- pir_
batch - Batch PIR: retrieve multiple indices in one query.
- pir_
create_ query - pir_
decode - pir_
server_ respond - pir_
trivial - Simple PIR: client downloads entire database (trivial but private).
- psi_
cardinality - PSI result size only (cardinality), not the actual intersection.
- psi_
hash_ based - Hash-based PSI: both parties hash their sets, compare hashes.