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

Precompute discrete log lookup

未关闭
#133 0 条评论 0 个 reaction 已指派 1 人 已被 @AddressXception 认领 在 GitHub 查看
enhancement good first issue hacktoberfest help wanted
主要语言
C++
星标
26
派生
25
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。