Skip to content

Commit

Permalink
chore: Update README.md (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Jan 13, 2025
1 parent 9146132 commit 460dff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ curve you want to use, which would be specified using any one of the methods
`ec::{tecurve,montcurve,swcurve}::{affine,curvegroup}::new` which take the coefficients in the
defining equation together with a generator point as parameters. You can find more detail in the
comments in
[`ec/src/lib.nr`](https://github.com/noir-lang/noir/blob/master/noir_stdlib/src/ec/mod.nr), but
[`ec/src/lib.nr`](https://github.com/noir-lang/ec/blob/master/src/lib.nr), but
the gist of it is that the elliptic curves of interest are usually expressed in one of the standard
forms implemented here (Twisted Edwards, Montgomery and Short Weierstraß), and in addition to that,
you could choose to use `affine` coordinates (Cartesian coordinates - the usual (x,y) - possibly
Expand Down Expand Up @@ -81,7 +81,7 @@ does indeed lie on `c` by calling `c.contains(p1)`.
## Examples

The
[ec_baby_jubjub test](placehold.er)
[ec_baby_jubjub test](https://github.com/noir-lang/ec/blob/914613273d3ff9dfec556d249e4455df2caac515/src/lib.nr#L211-L406)
illustrates all of the above primitives on various forms of the Baby Jubjub curve. A couple of more
interesting examples in Noir would be:

Expand Down

0 comments on commit 460dff3

Please sign in to comment.