Split-out Jupyter Chapter 0.2 (EC Math Review) from Chapter 1.1 (Schnorr Introduction). - #13
Conversation
|
rebased on master |
bitschmidty
left a comment
There was a problem hiding this comment.
Looks good overall @jachiang !
I tried to help implement some of Johns feedback in my comments.
| "* Multiplication: `mul`\n", | ||
| "* Division: `mul` (multiplying with scalar inverse, see Fermat's little theorem) \n", | ||
| "\n", | ||
| "" |
There was a problem hiding this comment.
Using int here is confusing for me. int+int, can it just be a+b, like the examples in the preceding bullet examples?
Also includes more explanations on scalar/points and additional exercise (commutivity).
|
Updated incorporating feedback from @jnewbery @elichai. Requires this PR branch to run. TODO:
|
I think it'd be ideal if the attendees did all the prework at home, and then we go over the solutions on the day. |
| "* Multiplication: `mul`\n", | ||
| "* Division: `mul` (multiplying with scalar inverse, see Fermat's little theorem) \n", | ||
| "\n", | ||
| "" |
| "* Multiplication: `a * b`\n", | ||
| "* Division: `a * 1/b` (See Fermat's little theorem) \n", | ||
| "\n", | ||
| "" |
There was a problem hiding this comment.
The first two columns contain ECKey * ECKey. I think they should say ECKey + ECKey
|
This is looking pretty good. There are a few review comments from me and @bitschmidty . @bitschmidty - James is busy for the next couple of days. Are you able to implement all of the review comments in your own commit, and then I'll add it to this PR and merge? |
|
Merging now. The required changes to the images is tracked in #24. |
As discussed, the EC math section has been split out from Chapter 1.1 (Schnorr Introduction), and is now considered workshop preparation along with chapter 0.1.
This PR incorporates some of the feedback from Elichai's review of Chapter 1.1.
ECKey.set(int.to_bytes())not addressed yet - hereI will wait for @bitschmidty review of chapter 0.2 and 1.1 before tackling unaddressed todo's above.