Giter Site home page Giter Site logo

erhant / moonmath Goto Github PK

View Code? Open in Web Editor NEW
49.0 1.0 7.0 1.03 MB

Solutions to exercises from MoonMath Manual to zkSNARKs.

Home Page: https://leastauthority.com/community-matters/moonmath-manual/

Sage 100.00%
cryptography mathematics sage algebra web3 zero-knowledge

moonmath's Introduction

moonmath's People

Contributors

erhant avatar skaunov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

moonmath's Issues

Exc 6.

I'm looking for some unhinged solutions to this one, maybe using Huff or Uiua. Feel free to add your own!

exercise-66

Hi, @erhant ! Please tell me if such issues is welcome, since it's just a way of discussions for me. Also I'm not a Pythonist, so I can't suggest a nice commit in case...

So. I feel like https://github.com/erhant/moonmath/tree/master/elliptic-curves#exercise-66 isn't done in the spirit of the exercise. To me it looks like the idea was take all projective plane points and filter them getting the set of those which are in the curve.

It's still a question for me what's the best way not to double check projective points... Is there an iterator over them in Sage? Or just find out a fine traversing algorithm, which seems not a huge headache in a small field.

Exc. 82

$\mathbb{G}_1$ and $\mathbb{G}_2$ turn out to be equal because $k=1$ in this case? Is our solution correct?

Exc. 80

I couldn't find any way to compute an element, but is there a way?

FIx `*` in math notation

GIthub likes to treat every * as a font styling instruction, but if we do \* within the math notation it seems to render correctly.

For example, below we would like to render multiplicative groups for Z5 and Z3 at the same time, but one of them bugs out.

  • $\mathbb{Z}_5^$ and $\mathbb{Z}_3^$
  • $\mathbb{Z}_5^{*}$ and $\mathbb{Z}_3^{*}$

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.