electionguard-python icon indicating copy to clipboard operation
electionguard-python copied to clipboard

✨ Hashing should be flat not recursive (Python)

Open lmarie79 opened this issue 3 years ago • 1 comments

Feature Request

Description It’s also not clear how things like H(a,(b,c)) are handled. In any case, we need to clearly specify these things so that they can be matched by verifiers..

Proposed Solution The simplest choice is to just flatten this, but I think that it may be done recursively as H(a,H(b,c)).

lmarie79 avatar Feb 08 '22 20:02 lmarie79

This is a remark made by @benaloh. There was a concern to remove the recursive nature of the hashing and have it as flat as possible. This is more a long term goal and perhaps will have to be broken up into individual issues.

keithrfung avatar Feb 08 '22 20:02 keithrfung