Library of basic circuits for Tornado Cash circom
Go to file
2020-10-27 21:31:39 +03:00
calcpedersenbases Change to a standard generator for Baby Jub 2019-08-03 12:46:21 +02:00
circuits use 35 rounds for poseidon hash, update poseidon constants from sage script for 35 rounds 2020-10-27 13:23:41 +03:00
doc Update web3 2019-07-08 14:08:04 +02:00
src poseidon contract now accepts both selectors: for uint256[n] and bytes32[n] 2020-10-27 21:31:39 +03:00
test poseidon contract now accepts both selectors: for uint256[n] and bytes32[n] 2020-10-27 21:31:39 +03:00
.eslintrc.js first commit 2018-10-21 19:51:38 +02:00
.gitignore first commit 2018-10-21 19:51:38 +02:00
index.js Dependencies and publish smt 2019-09-15 10:52:18 +02:00
package-lock.json fix dependency 2020-08-19 01:31:49 +03:00
package.json fix dependency 2020-08-19 01:31:49 +03:00
README.md Updated README files 2019-09-06 17:14:45 +02:00

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).

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.