Library of basic circuits for Tornado Cash circom
Go to file
poma d20d53411d
use 35 rounds for poseidon hash, update poseidon constants from sage script for 35 rounds
(cherry picked from commit afb4eff954c6a43f3b30c0792459416a26f1cf3f)
2021-02-02 15:18:23 +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 2021-02-02 15:18:23 +03:00
doc Update web3 2019-07-08 14:08:04 +02:00
src use 35 rounds for poseidon hash, update poseidon constants from sage script for 35 rounds 2021-02-02 15:18:23 +03:00
test pass fixes size array arg in solidity poseidon implementation 2020-10-26 16:47:07 +03:00
.eslintrc.js pre 0.5 all working 2020-03-26 19:24:20 +01:00
.gitignore first commit 2018-10-21 19:51:38 +02:00
index.js Blake to Blake2b and use of native big num 2020-04-18 22:33:59 +02:00
package-lock.json 0.4.1 2020-12-26 20:13:30 +01:00
package.json 0.4.1 2020-12-26 20:13:30 +01:00
README.md Update README.md 2020-10-05 10:18:06 +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).
  • 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.