https://github.com/arkworks-rs/sponge

This library is archived; see crypto-primities for the latest version of this code

https://github.com/arkworks-rs/sponge

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 8 committers (37.5%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.1%) to scientific vocabulary

Keywords

cryptography poseidon rust sponge

Keywords from Contributors

elliptic-curves finite-fields pairings polynomials
Last synced: 5 months ago · JSON representation

Repository

This library is archived; see crypto-primities for the latest version of this code

Basic Info
  • Host: GitHub
  • Owner: arkworks-rs
  • License: apache-2.0
  • Language: Rust
  • Default Branch: master
  • Homepage:
  • Size: 98.6 KB
Statistics
  • Stars: 22
  • Watchers: 10
  • Forks: 15
  • Open Issues: 3
  • Releases: 0
Archived
Topics
cryptography poseidon rust sponge
Created over 5 years ago · Last pushed about 3 years ago
Metadata Files
Readme Changelog Contributing License

README.md

Cryptographic Sponges

ark-sponge is a Rust library that provides infrastructure for implementing cryptographic sponges. This library is released under the MIT License and the Apache v2 License (see License).

This code has been archived, and has moved to the crypto-primitives library.

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

Overview

A cryptographic sponge is a cryptographic primitive that has two basic operations, absorb and squeeze. A sponge accepts byte or field element inputs through its "absorb" operation. At any time, a user can invoke the "squeeze" operation on a sponge to obtain byte or field element outputs. The sponge is stateful, so that squeezed outputs are dependent on previous inputs and previous outputs.

The library offers infrastructure for building cryptographic sponges and using them with different types of inputs.

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:

bash rustup install stable

After that, use cargo (the standard Rust build tool) to build the library:

bash git clone https://github.com/arkworks-rs/sponge.git cd sponge cargo build --release

This library comes with some unit and integration tests. Run these tests with:

bash cargo test

License

This library is licensed under either of the following licenses, at your discretion.

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

Reference papers

Fractal: Post-Quantum and Transparent Recursive Proofs from Holography
Alessandro Chiesa, Dev Ojha, Nicholas Spooner

POSEIDON: A New Hash Function For Zero-Knowledge Proof Systems Lorenzo Grassi, Dmitry Khovratovich, Christian Rechberger, Arnab Roy, Markus Schofnegger

Owner

  • Name: arkworks
  • Login: arkworks-rs
  • Kind: organization

An ecosystem for developing and programming with zkSNARKs

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 20
  • Total Committers: 8
  • Avg Commits per committer: 2.5
  • Development Distribution Score (DDS): 0.7
Past Year
  • Commits: 4
  • Committers: 3
  • Avg Commits per committer: 1.333
  • Development Distribution Score (DDS): 0.5
Top Committers
Name Email Commits
Weikeng Chen w****k@b****u 6
Pratyush Mishra p****a@b****u 4
Will Lin w****4@g****m 3
William Lin 3****4@u****m 3
Dev Ojha V****n@u****m 1
Henry de Valence h****e@h****a 1
Yuncong Hu y****u@b****u 1
Yuwen Zhang 7****1@u****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 4
  • Total pull requests: 19
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 12 days
  • Total issue authors: 2
  • Total pull request authors: 9
  • Average comments per issue: 5.0
  • Average comments per pull request: 1.0
  • Merged pull requests: 15
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Pratyush (2)
  • burdges (2)
Pull Request Authors
  • weikengchen (7)
  • Will-Lin4 (3)
  • hdevalence (2)
  • Pratyush (2)
  • huyuncong (1)
  • rozbb (1)
  • yuwen01 (1)
  • ValarDragon (1)
  • tsunrise (1)
Top Labels
Issue Labels
Pull Request Labels
breaking-change (1)

Packages

  • Total packages: 2
  • Total downloads:
    • cargo 34,782 total
  • Total dependent packages: 4
    (may contain duplicates)
  • Total dependent repositories: 22
    (may contain duplicates)
  • Total versions: 3
  • Total maintainers: 2
crates.io: ark-sponge

An implementation of the cryptographic sponge functions for zkSNARK

  • Versions: 2
  • Dependent Packages: 3
  • Dependent Repositories: 21
  • Downloads: 23,533 Total
Rankings
Dependent repos count: 5.9%
Dependent packages count: 9.2%
Downloads: 11.9%
Average: 12.5%
Forks count: 13.5%
Stargazers count: 21.8%
Maintainers (1)
Last synced: 7 months ago
crates.io: liminal-ark-pnbr-sponge

An implementation of the cryptographic sponge functions for zkSNARK

  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 11,249 Total
Rankings
Forks count: 13.5%
Downloads: 14.6%
Dependent repos count: 16.6%
Average: 16.9%
Dependent packages count: 18.2%
Stargazers count: 21.8%
Maintainers (1)
Last synced: 6 months ago