When generating a zkp with a third party, they generate the zkp for us.
We can publish (for the range proof) the SQR and EL proofs.
However to respond to the challenge we need the random numbers that they generated, to calculate the response. These should also be transferred over the network so we can save them.
To do this we need to change their protobuffer structure and their networking.
This is now done through plain sockets and is rather hacky with no routing.
When generating a zkp with a third party, they generate the zkp for us. We can publish (for the range proof) the SQR and EL proofs.
However to respond to the challenge we need the random numbers that they generated, to calculate the response. These should also be transferred over the network so we can save them.
To do this we need to change their protobuffer structure and their networking. This is now done through plain sockets and is rather hacky with no routing.
We think using: https://grpc.io/docs/tutorials/basic/java.html would be our best bet in cleaning up this code, as it still allows us to use protobuffers easliy