BasileiosKal / blind-bbs-signatures

Other
1 stars 2 forks source link

Help with test vectors #6

Closed AlbertoSvg closed 6 months ago

AlbertoSvg commented 6 months ago

Hello,

I've encountered an issue while testing my code against the commit001.json fixture in the bls12-381-sha-256 folder. My code is producing a commit different from the expected one.

Considering that committedMessages is an empty array in this case, the commitment C should be equal to Q_2 * secret_prover_blind, correct? My secret_prover_blind is correct and matches 1b6f406b17aaf92dc7deb911c7cae49756a6623b5c385b5ae6214d7e3d9597f7. Therefore, I suspect the issue lies in the computation of Q_2.

I have already implemented the test vectors for the Generators, and they all passed successfully. So, I don't really know what might be causing the problem. Any guidance or suggestions would be greatly appreciated.

Thank you!

AlbertoSvg commented 6 months ago

Never mind, I solved the problem