GithubHelp home page GithubHelp logo

alex-ozdemir / collaborative-zksnark Goto Github PK

View Code? Open in Web Editor NEW
103.0 103.0 39.0 2.68 MB

Prototype implementations of various Collaborative zkSNARKs.

Home Page: https://www.usenix.org/conference/usenixsecurity22/presentation/ozdemir

License: Other

Shell 0.95% R 0.30% Rust 97.72% Python 0.67% TeX 0.35% Makefile 0.01%

collaborative-zksnark's People

Contributors

alex-ozdemir 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

collaborative-zksnark's Issues

Implement of PrimeField and SquareRootField for MpcField

It seems that PrimeField and SquareRootField trait isn't implemented for MpcField.
(https://github.com/alex-ozdemir/collaborative-zksnark/blob/main/mpc-algebra/src/wire/field.rs#L516)

I'm trying to use MpcField for implementing elgamal encryption on mpc-snarks
(especially trying to refactor EdwardParameter to use MpcField as BaseField and ScalarField) ,
so I wonder why it wasn't implemented and the expected level of difficulty for implementing.

Need help with running tests

I received this error msg while trying to cargo test marlin

error[E0554]: #![feature] may not be used on the stable release channel
--> /mnt/c/phd_3rd_year/multiprover-snark/mpc-trait/src/lib.rs:1:1
|
1 | #![feature(associated_type_defaults)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try rustc --explain E0554.
error: could not compile mpc-trait due to previous error

Any suggestions?

What version of rustc?

I am trying to run the code but am getting errors. E.g. when running make proof in collaborative-zksnark/mpc-snarks/Makefile, it fails with error: could not compile mpc-algebra (lib) due to 32 previous errors; 3 warnings emitted. Most of these errors are of the type: error[E0277]: the size for values of type [<PS as PairingShare<E>>::FrShare] cannot be known at compilation time.

What version of rustup/rustc/cargo was used to build and run this code?

Thanks in advance!

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.