Election-Tech-Initiative / Election-Tech-Initiative/electionguard-python
🏎. Buffer Exponentiations for Encryption
- Dominant language
- Python
- Stars
- 168
- Forks
- 103
- PR merge metrics
- No merged PRs in 30d
Description
## 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](https://github.com/microsoft/electionguard-python/files/8154070/EG.Encryption.Buffering.docx)
Contributor guide
Assessment
This issue has not been assessed yet.