electionguard-python
electionguard-python copied to clipboard
🏎. Buffer Exponentiations for Encryption
Feature Request
Description Buffer exponentiations utilizing the optimized equations from #185 . There are 7 exponentiations per encryption. 5 of the 7 are independent of the nonce and data to be encrypted. These 5 can be computed in advance and buffered.
Expected Benefit ~3x on real time voting performance
Possible Architecture
- Use a producer/consumer pattern
Corresponding C++ Issue https://github.com/microsoft/electionguard-cpp/issues/186
Documentation
From Josh Benaloh (@benaloh) EG Encryption Buffering.docx