aicis / aicis/fresco

Construction of a FieldElement from a BigInteger fails if the BigInteger is too big

オープン
#404 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
Type: Bug
主要言語
Java
スター
143
フォーク
61
PR マージ指標
30日以内にマージされた PR はありません

説明

Currently the method `BigIntegerModulus.reduceModThis()` fails if the BigInteger it gets as input is more than the square of the modulus... However, no exception is thrown if this is the case.

The code should be changed to either throw and exception so the user knows that something went wrong, or fixed to handle the case of large input gracefully.

See this issue https://github.com/aicis/fresco-outsourcing/issues/6

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。