diff --git a/src/she/plaintext.rs b/src/she/plaintext.rs index 8bf9167e..ea283950 100644 --- a/src/she/plaintext.rs +++ b/src/she/plaintext.rs @@ -29,6 +29,10 @@ impl Plaintexts { } pub fn restricted_rand(params: &SHEParameters, rng: &mut T) -> Plaintexts { + // TODO: make this more general + // currently: + // Lower Bound > maximum value of possible secret input (approximately 10,000 in this case) * number of participants + // Upper Bound * number of participants < period of the ScalarField of edwards_bls12_377 (≒10^75) let upper_bound = 1000000000; let lower_bound = 100000;