Skip to content

Commit 030eca2

Browse files
committed
Edited ch03.asciidoc with Atlas code editor
1 parent 78c297b commit 030eca2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch03.asciidoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ When initializing `Point`, we will run through this part of the code:
8282
include::code-ch03/ecc.py[tag=source1]
8383
----
8484

85-
The addition (`+`), multiplication (`*`), exponentiation (`**`), and equality (`!=`) operators here use the `__add__`, `__mul__`, `__pow__`, and `__ne__` methods from `FiniteField`, respectively, and _not_ the integer equivalents.
85+
The addition (`+`), multiplication (`*`), exponentiation (`**`), and not equals (`!=`) operators here use the `__add__`, `__mul__`, `__pow__`, and `__ne__` methods from `FiniteField`, respectively, and _not_ the integer equivalents.
8686
Being able to do the same equation but with different definitions for the basic arithmetic operators is how we construct an elliptic curve cryptography library.
8787

8888
We've already coded the two classes that we need to implement elliptic curve points over a finite field.
@@ -972,7 +972,7 @@ Please don't use this function in production, because the random number from thi
972972
<2> _r_ is the _x_ coordinate of _kG_.
973973
<3> We use Fermat's little theorem again, and _n_, which is prime.
974974
<4> _s_ = (_z_ + _re_)/_k_.
975-
<5> It turns out that using the low-_s_ value will get nodes to relay our transactions easier.
975+
<5> It turns out that using the low-_s_ value will get nodes to relay our transactions.
976976
This is for malleability reasons.
977977
<6> We return a `Signature` object from the class defined earlier.
978978

0 commit comments

Comments
 (0)