Election-Tech-Initiative / Election-Tech-Initiative/electionguard-cpp

Precompute discrete log lookup

Đang mở
#133 0 bình luận 0 reaction 1 người được giao Được @AddressXception nhận Xem trên GitHub
enhancement good first issue hacktoberfest help wanted
Ngôn ngữ chính
C++
Star
26
Fork
25
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Description**
This is the sibling issue to [the python issue](https://github.com/microsoft/electionguard-python/issues/227)

currently, `elgamal.cpp#decrypt` only decrypts a zero or a one. this issue is to implement the dlog in the same way as python, and to set a cutoff.

Additionally, we would like to precompute the values up to the cutoff and supply them as an optional file along with the binary so that consumers can choose to optimize for compute performance at the expense of storage space.

the relevant python code was updated as part of [PR 405](https://github.com/microsoft/electionguard-python/pull/405) and the same pattern should be applied here.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.