{"repo":"Consensys/gnark-crypto","free":true,"listed":false,"github":"https://github.com/Consensys/gnark-crypto","clone":"git clone https://github.com/Consensys/gnark-crypto.git","description":"gnark-crypto provides elliptic curve and pairing-based cryptography on BN, BLS12, BLS24 and BW6 curves. It also provides various algorithms (algebra, crypto) of particular interest to zero knowledge proof systems","language":"Go","stars":600,"topics":["elliptic-curves","pairing","cryptography","golang","biginteger","ecc","mimc","eddsa","bls12-381","bls12-377"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"gnark-crypto gnark-crypto provides efficient cryptographic primitives, in Go. It is actively developed and maintained by the team ( HackMD) behind gnark : a framework to execute (and verify) algorithms in zero-knowledge. Features Elliptic curves & pairings [ bn254 ] (audit report) [ bls12-381 ] (audit report) [ bls24-317 ] [ bls12-377 ] / [ bw6-761 ] [ bls24-315 ] / [ bw6-633 ] Each of these curves has a [ twistededwards ] sub-package with its companion curve, which allows efficient elliptic curve cryptography inside zkSNARK circuits. Additional (non pairing-friendly) curves: [ secp256r1 ] (P-256), [ secp256k1 ], [ grumpkin ], [ stark-curve ]. Small fields Small prime fields for STARK-style provers: [ koalabear ], [ babybear ] (31-bit, with AVX-512 and NEON vector kernels), [ goldilocks ] (64-bit) Each with extensions (degree 2/4/6), fft , poseidon2 , sis (Ring-SIS) and iop sub-packages Signatures & hashing [ ecdsa ] - ECDSA signatures, on every curve above [ eddsa ] - EdDSA signatures, on the companion [ twistededwards ] curves [ mimc ] - MiMC hash function using Miyaguchi-Preneel construction [ poseidon2 ] - Poseidon2 permutation and compression function [ hash ] - registry of field-typed hash functions Polynomial commitments & protocols [ kzg ] - KZG commitment scheme [ mpcsetup ] - multiparty setup ceremony primitives (MMPORPG) [ shplonk ] / [ fflonk ] - batched polynomial commitment openings [ pedersen ] - Pedersen vector commitments [ fft ] - Fast Fourier Transform [ io","default_branch":null,"files":null,"tree":[],"storefront":"/r/Consensys","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Consensys/gnark-crypto/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}