Election-Tech-Initiative / electionguard-cpp

A C++ implementation of ElectionGuard specification focused on encryption components.
https://www.electionguard.vote/
MIT License
23 stars 26 forks source link

Hashing should be flat not recursive (CPP) #233

Open lmarie79 opened 2 years ago

lmarie79 commented 2 years ago

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)).