Commit 33ba09a2 authored by Stephane Glondu's avatar Stephane Glondu
Browse files

Remove dead code

parent 7d7543a2
......@@ -553,12 +553,3 @@ ElGamal.stringify_choices = function(choices) {
return strings_to_hash.join(",");
};
// a challenge generator for Fiat-Shamir
ElGamal.fiatshamir_challenge_generator = function(commitment) {
return ElGamal.disjunctive_challenge_generator([commitment]);
};
ElGamal.fiatshamir_dlog_challenge_generator = function(commitment) {
return new BigInt(hex_sha1(commitment.toJSONObject()), 16);
};
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment