Skip to content

Commit

Permalink
Improve example documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronFeickert committed Aug 21, 2024
1 parent bf074cb commit e4524d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/ringct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ mod test {
let number_outputs = params.get_N();

// Value commitments use the Triptych `G` generator for masks, and need another component for values
// In practice it's essential that `G` and `H` have no efficiently-computable discrete logarithm relationship
// For this example, we'll just make it random; in the real world, you'd use a verifiable hash-based construction
let H = RistrettoPoint::random(&mut rng);

// All output verification keys and value commitments (except ours) look random to us, so just make them random!
Expand Down

0 comments on commit e4524d0

Please sign in to comment.