Commit 2713e452 authored by Jakob Botsch Nielsen's avatar Jakob Botsch Nielsen

Implement vote zero knowledge proof

This proof is based on the description given in the original open vote
network article. It verifies that the public vote is on the form
g^(x*y)*g^v for either v=0 or v=1, and where x corresponds to the secret
key sent in the first part of the protocol.

This also updates a few things so that the test keeps working.
Specifically, it changes the hash function used to be simple (insecure)
xor, as the encoding used before was causing major computational
isssues.
parent f6dacc26
Pipeline #19367 passed with stage
in 9 minutes and 59 seconds