GithubHelp home page GithubHelp logo

zeroprophet / klefki Goto Github PK

View Code? Open in Web Editor NEW
23.0 6.0 8.0 5.08 MB

Klefki is a playground for researching elliptic curve group based algorithm, such as MPC, ZKP and HE. All data types & structures are based on mathematical defination of abstract algebra.

Home Page: https://zeroprophet.github.io/klefki/

License: GNU General Public License v3.0

Python 100.00%
bitcoin algorithm algebra cryptocurrency zero-knowledge cryptography elliptic-curve-cryptography cryptocoins zksnark

klefki's People

Contributors

lovelyrosa avatar ryankung avatar winkidney 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

klefki's Issues

ImportError: cannot import name 'EllipticCurveCyclicSubgroupSecp256k1' from 'klefki.algebra.concrete'

Describe the bug
ImportError: cannot import name 'EllipticCurveCyclicSubgroupSecp256k1' from 'klefki.algebra.concrete'. It seems it is missing in the-path-to-klefki/klefki/algebra/concrete.py.

To Reproduce
Steps to reproduce the behavior:

  1. simply type klefki shell in shell terminal, and it produces the import error.

Desktop (please complete the following information):

  • OS: macOS 14.4
  • Version 1.7.1

can't work

Your project looks fine, but I can't get it to work.

① The demo you provided cannot be run.
https://replit.com/@RyanKung/Klefki-Demo

② pip install klefki
klefki shell
After performing the above operations, an error will be reported:
Error:
root@autodl-container-f77d11adac-eb7b502d:~# klefki shell
Traceback (most recent call last):
File "/root/miniconda3/bin/klefki", line 8, in
sys.exit(main())
File "/root/miniconda3/lib/python3.8/site-packages/klefki/client/shell.py", line 66, in router
return fn(*args, **kwargs)
File "/root/miniconda3/lib/python3.8/site-packages/klefki/client/shell.py", line 21, in shell
from klefki.algebra.concrete import (
ImportError: cannot import name 'EllipticCurveCyclicSubgroupSecp256k1' from 'klefki.algebra.concrete' (/root/miniconda3/lib/python3.8/site-packages/klefki/algebra/concrete.py)

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.