diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-08-30 18:35:23 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-08-30 18:35:23 +0200 |
| commit | 5e3b4b6c21d33b28e60ce976479339f72d544a6c (patch) | |
| tree | 0e5a101d4944e7dd5a99606344b6a6807a9a5606 /src/blog/2025-02-27-elliptic-curves-javascript | |
| parent | d3f0841cfdd229ff16b8a230117737a435fc7a56 (diff) | |
| download | sebastiano.tronto.net-5e3b4b6c21d33b28e60ce976479339f72d544a6c.tar.gz sebastiano.tronto.net-5e3b4b6c21d33b28e60ce976479339f72d544a6c.zip | |
Switch from stagit to cgit
Diffstat (limited to 'src/blog/2025-02-27-elliptic-curves-javascript')
| -rw-r--r-- | src/blog/2025-02-27-elliptic-curves-javascript/ecm.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blog/2025-02-27-elliptic-curves-javascript/ecm.md b/src/blog/2025-02-27-elliptic-curves-javascript/ecm.md index 56b876c..27e5021 100644 --- a/src/blog/2025-02-27-elliptic-curves-javascript/ecm.md +++ b/src/blog/2025-02-27-elliptic-curves-javascript/ecm.md | |||
| @@ -40,7 +40,7 @@ Recently I have been learning C++, and I wanted to experiment with some | |||
| 40 | of its more advanced features. So I decided to rewrite the whole thing. | 40 | of its more advanced features. So I decided to rewrite the whole thing. |
| 41 | 41 | ||
| 42 | I had a clear idea of where I wanted to start: a small | 42 | I had a clear idea of where I wanted to start: a small |
| 43 | [library for modular arithmetic](https://git.tronto.net/zmodn/file/README.md.html), | 43 | [library for modular arithmetic](https://git.tronto.net/zmodn), |
| 44 | with compile-time fixed | 44 | with compile-time fixed |
| 45 | [modulus](https://en.wikipedia.org/wiki/Modular_arithmetic) via templates | 45 | [modulus](https://en.wikipedia.org/wiki/Modular_arithmetic) via templates |
| 46 | and heavy use of | 46 | and heavy use of |
| @@ -57,7 +57,7 @@ algorithm with very large numbers. Unfortunately, I did not take into | |||
| 57 | account that with my setup I needed a big integer class that supported | 57 | account that with my setup I needed a big integer class that supported |
| 58 | *compile-time constants* - for example in the form of `constexpr` | 58 | *compile-time constants* - for example in the form of `constexpr` |
| 59 | constructors. I could not find any, so I decided to write | 59 | constructors. I could not find any, so I decided to write |
| 60 | [my own big integer class](https://git.tronto.net/zmodn/file/bigint.h.html). | 60 | [my own big integer class](https://git.tronto.net/zmodn/tree/bigint.h). |
| 61 | This was less successful: implementing an *efficient* big integer library | 61 | This was less successful: implementing an *efficient* big integer library |
| 62 | was not as straightforward as the modular integers library. I decided | 62 | was not as straightforward as the modular integers library. I decided |
| 63 | not to care about efficiency for the time being, but that would come | 63 | not to care about efficiency for the time being, but that would come |
| @@ -258,7 +258,7 @@ pieces of text and pictures in the slides - shoutout to | |||
| 258 | my friend [Jared](https://guissmo.com) for telling me about | 258 | my friend [Jared](https://guissmo.com) for telling me about |
| 259 | it. Apart from this I don't have anything interesting to comment | 259 | it. Apart from this I don't have anything interesting to comment |
| 260 | about the CSS part of the slides. You can check the full code | 260 | about the CSS part of the slides. You can check the full code |
| 261 | [here](https://git.tronto.net/ecm/file/index.html.html) if you want; | 261 | [here](https://git.tronto.net/ecm/tree/index.html) if you want; |
| 262 | everything is in a single HTML file. | 262 | everything is in a single HTML file. |
| 263 | 263 | ||
| 264 | The result looks fine, but it does not work perfectly will every screen | 264 | The result looks fine, but it does not work perfectly will every screen |
