pluto / ronkathon

Cryptography Educational Foundations
https://pluto.xyz/blog/ronkathon-learn-cryptography-from-first-principles
Apache License 2.0
192 stars 24 forks source link

Prevents division by a zero polynomial #66

Closed DoTheBestToGetTheBest closed 6 months ago

DoTheBestToGetTheBest commented 6 months ago

Division by zero is undefined.

Autoparallel commented 6 months ago

Probably best to add the is_zero() method and then place it in the quotient_and_remainder() method itself.

Autoparallel commented 6 months ago

Closing due to being stale.

If you would like to get this change in, please see our requests :)