Expand description
Privacy-preserving cryptographic primitives.
§Example
use confium_privacy::privacy_and_dist_patterns::dp_query;
// Apply differential privacy noise to a numeric value.
// ε = 0.5 gives moderate privacy; lower ε = more noise = more privacy.
let true_value = 1234.0;
let perturbed = dp_query(true_value, /* sensitivity */ 1.0, /* epsilon */ 0.5);
assert!(perturbed.is_finite());Modules§
- adaptor_
sig - Adaptor signatures — pre-signature + completion with witness.
- blind_
ecdsa - Blind ECDSA — sign without seeing the message.
- differential
- Differential testing framework.
- distributed_
prf - Distributed pseudorandom function (PRF).
- distributed_
prg - Distributed pseudo-random generator (PRG).
- jsonld_
signing - JSON-LD document signing.
- multi_
sig - Multi-signature aggregation.
- oblivious_
transfer - Oblivious Transfer (OT).
- privacy_
and_ dist_ patterns - Privacy-preserving computation + distributed systems patterns.
- proxy_
reencryption - Proxy re-encryption.
- secure_
aggregation - Secure aggregation protocol.
- side_
channel - Side-channel timing test framework.
- threshold_
decryption - Threshold decryption coordinator.
- vdf
- Verifiable Delay Function (VDF).
- vrf
- Verifiable Random Function (VRF).