Hi I want to implement pedersen commitment ontop of lib sodium
Below is what I am trying to do:
comm1: m1G+r1H
comm2: m2G+r2H
comm3: (m1+m2)G+(r1+r2)H
comm4: comm1+comm2
and comm3 should equals comm4
And here is my code:
However, the does not equal 0
Would truly appreciate having someone provide some insight into any potential mistakes I might be making based on the information I provided above.
Hi I want to implement pedersen commitment ontop of lib sodium Below is what I am trying to do: comm1: m1G+r1H comm2: m2G+r2H comm3: (m1+m2)G+(r1+r2)H comm4: comm1+comm2
and comm3 should equals comm4 And here is my code:
However, the does not equal 0 Would truly appreciate having someone provide some insight into any potential mistakes I might be making based on the information I provided above.