We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf074cb commit 98b04ddCopy full SHA for 98b04dd
examples/ringct.rs
@@ -29,6 +29,8 @@ mod test {
29
let number_outputs = params.get_N();
30
31
// Value commitments use the Triptych `G` generator for masks, and need another component for values
32
+ // In practice it's essential that `G` and `H` have no efficiently-computable discrete logarithm relationship
33
+ // For this example, we'll just make it random; in the real world, you'd use a verifiable hash-based construction
34
let H = RistrettoPoint::random(&mut rng);
35
36
// All output verification keys and value commitments (except ours) look random to us, so just make them random!
0 commit comments