aicis / aicis/fresco

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

未關閉
#404 2 則留言 0 個 reaction 已指派 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 摘要。