All Projects → arkworks-rs → Snark

arkworks-rs / Snark

Licence: other
Interfaces for Relations and SNARKs for these relations

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Snark

End To End
End-To-End is a crypto library to encrypt, decrypt, digital sign, and verify signed messages (implementing OpenPGP)
Stars: ✭ 4,047 (+695.09%)
Mutual labels:  cryptography
Bitcracker
BitCracker is the first open source password cracking tool for memory units encrypted with BitLocker
Stars: ✭ 463 (-9.04%)
Mutual labels:  cryptography
Securitydriven.inferno
✅ .NET crypto done right. Professionally audited.
Stars: ✭ 501 (-1.57%)
Mutual labels:  cryptography
Cryptography
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
Stars: ✭ 4,493 (+782.71%)
Mutual labels:  cryptography
Bulletproofs
Bulletproofs are short non-interactive zero-knowledge proofs that require no trusted setup
Stars: ✭ 458 (-10.02%)
Mutual labels:  cryptography
Curve25519 Dalek
A pure-Rust implementation of group operations on Ristretto and Curve25519
Stars: ✭ 477 (-6.29%)
Mutual labels:  cryptography
Shoop
scp has a run-in with mosh (alpha)
Stars: ✭ 408 (-19.84%)
Mutual labels:  cryptography
Iotex Core
Official implementation of IoTeX blockchain protocol in Go.
Stars: ✭ 505 (-0.79%)
Mutual labels:  cryptography
Elle
The Elle coroutine-based asynchronous C++ development framework.
Stars: ✭ 459 (-9.82%)
Mutual labels:  cryptography
Swifty
🔑 Free Offline Password Manager
Stars: ✭ 496 (-2.55%)
Mutual labels:  cryptography
Chronicle
Public append-only ledger microservice built with Slim Framework
Stars: ✭ 429 (-15.72%)
Mutual labels:  cryptography
Capillary
Capillary is a library to simplify the sending of end-to-end encrypted push messages from Java-based application servers to Android clients.
Stars: ✭ 445 (-12.57%)
Mutual labels:  cryptography
Meta
Meta-repository for Miscreant: misuse-resistant symmetric encryption library with AES-SIV (RFC 5297) and AES-PMAC-SIV support
Stars: ✭ 483 (-5.11%)
Mutual labels:  cryptography
Tendermint
⟁ Tendermint Core (BFT Consensus) in Go
Stars: ✭ 4,491 (+782.32%)
Mutual labels:  cryptography
Cryptominisat
An advanced SAT solver
Stars: ✭ 502 (-1.38%)
Mutual labels:  cryptography
S2n Tls
s2n : an implementation of the TLS/SSL protocols
Stars: ✭ 4,029 (+691.55%)
Mutual labels:  cryptography
Circl
CIRCL: Cloudflare Interoperable Reusable Cryptographic Library
Stars: ✭ 474 (-6.88%)
Mutual labels:  cryptography
Libsodium Php
The PHP extension for libsodium.
Stars: ✭ 507 (-0.39%)
Mutual labels:  cryptography
Cjdns
An encrypted IPv6 network using public-key cryptography for address allocation and a distributed hash table for routing.
Stars: ✭ 4,766 (+836.35%)
Mutual labels:  cryptography
Rsa And Lll Attacks
attacking RSA via lattice reductions (LLL)
Stars: ✭ 482 (-5.3%)
Mutual labels:  cryptography

SNARK and Relation Traits

The arkworks ecosystem consists of Rust libraries for designing and working with zero knowledge succinct non-interactive arguments (zkSNARKs). This repository contains efficient libraries that describe interfaces for zkSNARKs, as well as interfaces for programming them.

This library is released under the MIT License and the Apache v2 License (see License).

WARNING: This is an academic proof-of-concept prototype, and in particular has not received careful code review. This implementation is NOT ready for production use.

Directory structure

This repository contains two Rust crates:

  • ark-snark: Provides generic traits for zkSNARKs
  • ark-relations: Provides generic traits for NP relations used in programming zkSNARKs, such as R1CS

Overview

This repository provides the core infrastucture for using the succinct argument systems that arkworks provides. Users who want to produce arguments about various problems of interest will first reduce those problems to an NP relation, various examples of which are defined in the ark-relations crate. Then a SNARK system defined over that relation is used to produce a succinct argument. The ark-snark crate defines a SNARK trait that encapsulates the general functionality, as well as specific traits for various types of SNARK (those with transparent and universal setup, for instance). Different repositories within the arkworks ecosystem implement this trait for various specific SNARK constructions, such as Groth16, GM17, and Marlin.

Build guide

The library compiles on the stable toolchain of the Rust compiler. To install the latest version of Rust, first install rustup by following the instructions here, or via your platform's package manager. Once rustup is installed, install the Rust toolchain by invoking:

rustup install stable

After that, use cargo, the standard Rust build tool, to build the libraries:

git clone https://github.com/arkworks-rs/snark.git
cd algebra
cargo build --release

Tests

This library comes with comprehensive unit and integration tests for each of the provided crates. Run the tests with:

cargo test --all

License

The crates in this repo are licensed under either of the following licenses, at your discretion.

Unless you explicitly state otherwise, any contribution submitted for inclusion in this library by you shall be dual licensed as above (as defined in the Apache v2 License), without any additional terms or conditions.

Acknowledgements

This work was supported by: a Google Faculty Award; the National Science Foundation; the UC Berkeley Center for Long-Term Cybersecurity; and donations from the Ethereum Foundation, the Interchain Foundation, and Qtum.

An earlier version of this library was developed as part of the paper "ZEXE: Enabling Decentralized Private Computation".

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].