You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Alexey 1e04fc0325 poseidon contract now accepts both selectors: for uint256[n] and bytes32[n] 4 years ago
calcpedersenbases Change to a standard generator for Baby Jub 5 years ago
circuits add poseidon comments and refactorings 4 years ago
doc Update web3 5 years ago
src poseidon contract now accepts both selectors: for uint256[n] and bytes32[n] 4 years ago
test pass fixes size array arg in solidity poseidon implementation 4 years ago
.eslintrc.js pre 0.5 all working 4 years ago
.gitignore first commit 6 years ago
README.md Update README.md 4 years ago
index.js Blake to Blake2b and use of native big num 4 years ago
package-lock.json 0.2.4 4 years ago
package.json 0.2.4 4 years ago

README.md

CircomLib

Description

  • This repository contains a library of circuit templates.
  • All files are copyrighted under 2018 0KIMS association and part of the free software circom (Zero Knowledge Circuit Compiler).
  • You can read more about the circom language in the circom documentation webpage.

Organisation

This respository contains 5 folders:

  • circuits: it contains the implementation of different cryptographic primitives in circom language.
  • calcpedersenbases: set of functions in JavaScript used to find a set of points in Baby Jubjub elliptic curve that serve as basis for the Pedersen Hash.
  • doc: it contains some circuit schemes in ASCII (must be opened with Monodraw, an ASCII art editor for Mac).
  • src: it contains similar implementation of circuits in JavaScript.
  • test: tests.

A description of the specific circuit templates for the circuit folder will be soon updated.