GitXplorerGitXplorer
a

zkpython

public
7 stars
6 forks
0 issues

Commits

List of commits on branch master.
Unverified
82f2070c115fac2afa736d4cd1e62770a25cfd9e

Quick Updates

aanudit committed 5 years ago
Unverified
35c910c57f3d8ecd84455da9c662f6bd19f9120e

Update Documentation

aanudit committed 5 years ago
Unverified
307534bebaa21139de363da8bec8ca114efe3fc3

Proofs for JSON datasets

aanudit committed 5 years ago
Unverified
36166971a85ab2e0d925dade7700f091a5729c4a

Ability to set Custom Secrets

aanudit committed 5 years ago
Unverified
3caa33e23458bc6b2dfeed4fd4a87419b8bca818

Organization

aanudit committed 5 years ago
Unverified
11a2cbc589fe410d7bcf3df15d03e3dcbc510542

Initial Algorithm 🚀

aanudit committed 5 years ago

README

The README file for this repository.

zkpython

A zero-knowledge succinct non-interactive argument of knowledge (zk-SNARK) implementation in Python.

Getting Started

  1. Clone the Repository
  2. Copy the ZeroKnowlege Directory to your Project Directory
  3. Use the following code to import the package in your project
    from ZeroKnowledge.Zk import Zk
    
  4. Initialize a Zk Object
    zero = Zk()
    

You're ready to go.

Usage

Functions Definition Params Returns
changeSecret() Allows you to add your custom secret secret = An array of secret numbers secret
getSecret() Lets you view the current secret None secret
create() Lets you create a ZK-proof of a String data = A string of data Commitments of the proof
solve() Lets you solve a ZK-proof to get the original data secret, commitments Solved String Data