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

Precompute discrete log lookup

オープン
#133 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。