zkalc

A web tool that helps you compare and visualize the performance of cryptographic operations

https://github.com/mmaker/zkalc

Science Score: 54.0%

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

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

Keywords

benchmarks cryptography

Keywords from Contributors

interactive packaging network-simulation hacking autograding pairings embedded optim polynomial standardization
Last synced: 6 months ago · JSON representation ·

Repository

A web tool that helps you compare and visualize the performance of cryptographic operations

Basic Info
  • Host: GitHub
  • Owner: mmaker
  • License: bsd-3-clause
  • Language: JavaScript
  • Default Branch: main
  • Homepage: https://zka.lc
  • Size: 10.9 MB
Statistics
  • Stars: 91
  • Watchers: 4
  • Forks: 18
  • Open Issues: 8
  • Releases: 0
Topics
benchmarks cryptography
Created about 3 years ago · Last pushed 8 months ago
Metadata Files
Readme License Citation Authors

README.md

zkalc is a cryptographic calculator!

zkalc helps you calculate how much time cryptographic operations take on a real computer. If you use our software, consider citing us!

Why?

Cryptographers tend to be good at cryptography but they can be quite bad at estimating the time it takes a computer to run their schemes.

We hope that zkalc can help shorten the gap between cryptography and practice: - Cryptographers can use the simple zkalc UX to learn how fast their paper will run on various machines - Protocol designers can more easily tune the parameters of their protocol depending on their requirements

Please see the various pages of the website for more information on how zkalc works.

Prerequisites

To run benchmarks, we assume that make, git, rust (nightly!) and go (> 1.17) are installed in the system.

Installing Go. To install go, you can download the binaries at go.dev/dl and add go/bin to your PATH environment variable.

Installing Rust. To install rust, you can follow rustup.rs and then type rustup default nightly.

Benchmarks

All benchmarks are listed and run inside the benchmarks/ folder. To run them, type:

bash $ cd backend $ make The files generated will end up stored in perf/data/new/

Processing Benchmarks

For this step, we require python3. Benchmarks are assumed to be in a parent folder called bench-data resembling our raw data repository.

bash $ cd perf $ make

Fronted development

To develop the frontend, npm is required. Run:

bash $ cd frontend $ npm i $ npm run dev

To start a local development server

Acknowledgements

We thank NLnet, who supported part of this work via the NGI0 Entrust fund.

Owner

  • Name: Michele Orrù
  • Login: mmaker
  • Kind: user
  • Location: France / California
  • Company: UC Berkeley

Citation (CITATION.bib)

@inproceedings{zkalc,
	author = {Ernstberger, Jens and Chaliasos, Stefanos and Kadianakis, George and Steinhorst, Sebastian and Jovanovic, Philipp and Gervais, Arthur and Livshits, Benjamin and Orr{\`u}, Michele},
	booktitle = {Security and Cryptography for Networks},
	editor = {Galdi, Clemente and Phan, Duong Hieu},
	isbn = {978-3-031-71070-4},
	pages = {46--72},
	publisher = {Springer Nature Switzerland},
	title = {zk-Bench: A Toolset for Comparative Evaluation and Performance Benchmarking of SNARKs},
	year = {2024}
}

GitHub Events

Total
  • Issues event: 1
  • Watch event: 13
  • Delete event: 6
  • Issue comment event: 15
  • Push event: 24
  • Pull request event: 19
  • Fork event: 4
  • Create event: 6
Last Year
  • Issues event: 1
  • Watch event: 13
  • Delete event: 6
  • Issue comment event: 15
  • Push event: 24
  • Pull request event: 19
  • Fork event: 4
  • Create event: 6

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 466
  • Total Committers: 12
  • Avg Commits per committer: 38.833
  • Development Distribution Score (DDS): 0.365
Past Year
  • Commits: 25
  • Committers: 5
  • Avg Commits per committer: 5.0
  • Development Distribution Score (DDS): 0.44
Top Committers
Name Email Commits
Michele Orrù m****u@b****u 296
George Kadianakis d****d@r****t 116
dependabot[bot] 4****] 20
Patrick Arminio p****o@g****m 15
Stefanos Chaliasos s****s@c****m 6
tumberger j****r@t****e 6
Jack Grigg t****d@g****m 2
redha2404 1****4 1
b-wagn c****o@b****v 1
Nalin Bhardwaj n****j@n****e 1
Mikhail 4****w 1
Logan Norman l****0@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 22
  • Total pull requests: 55
  • Average time to close issues: 3 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 6
  • Total pull request authors: 13
  • Average comments per issue: 0.86
  • Average comments per pull request: 1.31
  • Merged pull requests: 42
  • Bot issues: 0
  • Bot pull requests: 29
Past Year
  • Issues: 1
  • Pull requests: 22
  • Average time to close issues: N/A
  • Average time to close pull requests: 21 days
  • Issue authors: 1
  • Pull request authors: 3
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.86
  • Merged pull requests: 14
  • Bot issues: 0
  • Bot pull requests: 18
Top Authors
Issue Authors
  • mmaker (12)
  • asn-d6 (4)
  • tumberger (2)
  • KaiserKarel (1)
  • b-wagn (1)
  • bkomuves (1)
Pull Request Authors
  • dependabot[bot] (39)
  • StefanosChaliasos (5)
  • tumberger (4)
  • patrick91 (3)
  • asn-d6 (2)
  • redha2404 (2)
  • rootdiae (2)
  • Skinbow (2)
  • b-wagn (2)
  • ChickenLover (2)
  • str4d (2)
  • lognorman20 (1)
  • nalinbhardwaj (1)
Top Labels
Issue Labels
good first issue (3)
Pull Request Labels
dependencies (39) javascript (33) rust (6)

Dependencies

backend/arkworks/Cargo.lock cargo
  • ahash 0.8.2
  • ark-relations 0.3.0
  • atty 0.2.14
  • autocfg 1.1.0
  • bitflags 1.3.2
  • bstr 0.2.17
  • bumpalo 3.11.1
  • cast 0.3.0
  • cfg-if 1.0.0
  • clap 2.34.0
  • criterion 0.3.6
  • criterion-plot 0.4.5
  • crossbeam-channel 0.5.6
  • crossbeam-deque 0.8.2
  • crossbeam-epoch 0.9.13
  • crossbeam-utils 0.8.14
  • crypto-common 0.1.6
  • csv 1.1.6
  • csv-core 0.1.10
  • derivative 2.2.0
  • digest 0.10.6
  • either 1.8.0
  • generic-array 0.14.6
  • getrandom 0.2.8
  • half 1.8.2
  • hashbrown 0.13.1
  • hermit-abi 0.1.19
  • hermit-abi 0.2.6
  • itertools 0.10.5
  • itoa 0.4.8
  • itoa 1.0.5
  • js-sys 0.3.60
  • lazy_static 1.4.0
  • libc 0.2.139
  • log 0.4.17
  • memchr 2.5.0
  • memoffset 0.7.1
  • num-bigint 0.4.3
  • num-integer 0.1.45
  • num-traits 0.2.15
  • num_cpus 1.15.0
  • once_cell 1.16.0
  • oorandom 11.1.3
  • paste 1.0.11
  • pin-project-lite 0.2.9
  • plotters 0.3.4
  • plotters-backend 0.3.4
  • plotters-svg 0.3.3
  • ppv-lite86 0.2.17
  • proc-macro2 1.0.49
  • quote 1.0.23
  • rand 0.8.5
  • rand_chacha 0.3.1
  • rand_core 0.6.4
  • rayon 1.6.1
  • rayon-core 1.10.1
  • regex 1.7.0
  • regex-automata 0.1.10
  • regex-syntax 0.6.28
  • rustc_version 0.4.0
  • ryu 1.0.12
  • same-file 1.0.6
  • scopeguard 1.1.0
  • semver 1.0.16
  • serde 1.0.151
  • serde_cbor 0.11.2
  • serde_derive 1.0.151
  • serde_json 1.0.91
  • syn 1.0.107
  • synstructure 0.12.6
  • textwrap 0.11.0
  • tinytemplate 1.2.1
  • tracing 0.1.37
  • tracing-core 0.1.30
  • typenum 1.16.0
  • unicode-ident 1.0.6
  • unicode-width 0.1.10
  • unicode-xid 0.2.4
  • version_check 0.9.4
  • walkdir 2.3.2
  • wasi 0.11.0+wasi-snapshot-preview1
  • wasm-bindgen 0.2.83
  • wasm-bindgen-backend 0.2.83
  • wasm-bindgen-macro 0.2.83
  • wasm-bindgen-macro-support 0.2.83
  • wasm-bindgen-shared 0.2.83
  • web-sys 0.3.60
  • winapi 0.3.9
  • winapi-i686-pc-windows-gnu 0.4.0
  • winapi-util 0.1.5
  • winapi-x86_64-pc-windows-gnu 0.4.0
  • zeroize 1.5.7
  • zeroize_derive 1.3.3
backend/blstrs/Cargo.lock cargo
  • atty 0.2.14
  • autocfg 1.1.0
  • bitflags 1.3.2
  • bitvec 1.0.1
  • blst 0.3.10
  • blstrs 0.6.1
  • bstr 0.2.17
  • bumpalo 3.11.0
  • byte-slice-cast 1.2.1
  • byteorder 1.4.3
  • cast 0.3.0
  • cc 1.0.73
  • cfg-if 1.0.0
  • clap 2.34.0
  • criterion 0.3.6
  • criterion-plot 0.4.5
  • crossbeam-channel 0.5.6
  • crossbeam-deque 0.8.2
  • crossbeam-epoch 0.9.10
  • crossbeam-utils 0.8.11
  • csv 1.1.6
  • csv-core 0.1.10
  • either 1.8.0
  • ff 0.12.0
  • funty 2.0.0
  • getrandom 0.2.7
  • glob 0.3.0
  • group 0.12.0
  • half 1.8.2
  • hermit-abi 0.1.19
  • itertools 0.10.4
  • itoa 0.4.8
  • itoa 1.0.3
  • js-sys 0.3.60
  • lazy_static 1.4.0
  • libc 0.2.132
  • log 0.4.17
  • memchr 2.5.0
  • memoffset 0.6.5
  • num-traits 0.2.15
  • num_cpus 1.13.1
  • once_cell 1.14.0
  • oorandom 11.1.3
  • pairing 0.22.0
  • plotters 0.3.4
  • plotters-backend 0.3.4
  • plotters-svg 0.3.3
  • ppv-lite86 0.2.16
  • proc-macro2 1.0.43
  • quote 1.0.21
  • radium 0.7.0
  • rand 0.8.5
  • rand_chacha 0.3.1
  • rand_core 0.6.4
  • rand_xorshift 0.3.0
  • rayon 1.5.3
  • rayon-core 1.9.3
  • regex 1.6.0
  • regex-automata 0.1.10
  • regex-syntax 0.6.27
  • ryu 1.0.11
  • same-file 1.0.6
  • scopeguard 1.1.0
  • serde 1.0.144
  • serde_cbor 0.11.2
  • serde_derive 1.0.144
  • serde_json 1.0.85
  • subtle 2.4.1
  • syn 1.0.99
  • synstructure 0.12.6
  • tap 1.0.1
  • textwrap 0.11.0
  • threadpool 1.8.1
  • tinytemplate 1.2.1
  • unicode-ident 1.0.4
  • unicode-width 0.1.10
  • unicode-xid 0.2.4
  • walkdir 2.3.2
  • wasi 0.11.0+wasi-snapshot-preview1
  • wasm-bindgen 0.2.83
  • wasm-bindgen-backend 0.2.83
  • wasm-bindgen-macro 0.2.83
  • wasm-bindgen-macro-support 0.2.83
  • wasm-bindgen-shared 0.2.83
  • web-sys 0.3.60
  • which 4.3.0
  • winapi 0.3.9
  • winapi-i686-pc-windows-gnu 0.4.0
  • winapi-util 0.1.5
  • winapi-x86_64-pc-windows-gnu 0.4.0
  • wyz 0.5.0
  • zeroize 1.5.7
  • zeroize_derive 1.3.2
backend/curve25519-dalek/Cargo.lock cargo
  • atty 0.2.14
  • autocfg 1.1.0
  • bitflags 1.3.2
  • bstr 0.2.17
  • bumpalo 3.11.1
  • byteorder 1.4.3
  • cast 0.3.0
  • cfg-if 1.0.0
  • clap 2.34.0
  • criterion 0.3.6
  • criterion-plot 0.4.5
  • crossbeam-channel 0.5.6
  • crossbeam-deque 0.8.2
  • crossbeam-epoch 0.9.13
  • crossbeam-utils 0.8.14
  • csv 1.1.6
  • csv-core 0.1.10
  • curve25519-dalek-ng 4.1.1
  • digest 0.9.0
  • either 1.8.0
  • generic-array 0.14.6
  • getrandom 0.2.8
  • half 1.8.2
  • hermit-abi 0.1.19
  • hermit-abi 0.2.6
  • itertools 0.10.5
  • itoa 0.4.8
  • itoa 1.0.5
  • js-sys 0.3.60
  • lazy_static 1.4.0
  • libc 0.2.139
  • libm 0.1.4
  • log 0.4.17
  • memchr 2.5.0
  • memoffset 0.7.1
  • num-traits 0.2.15
  • num_cpus 1.15.0
  • once_cell 1.16.0
  • oorandom 11.1.3
  • packed_simd_2 0.3.8
  • plotters 0.3.4
  • plotters-backend 0.3.4
  • plotters-svg 0.3.3
  • ppv-lite86 0.2.17
  • proc-macro2 1.0.49
  • quote 1.0.23
  • rand 0.8.5
  • rand_chacha 0.3.1
  • rand_core 0.6.4
  • rayon 1.6.1
  • rayon-core 1.10.1
  • regex 1.7.0
  • regex-automata 0.1.10
  • regex-syntax 0.6.28
  • ryu 1.0.12
  • same-file 1.0.6
  • scopeguard 1.1.0
  • serde 1.0.151
  • serde_cbor 0.11.2
  • serde_derive 1.0.151
  • serde_json 1.0.91
  • subtle-ng 2.5.0
  • syn 1.0.107
  • textwrap 0.11.0
  • tinytemplate 1.2.1
  • typenum 1.16.0
  • unicode-ident 1.0.6
  • unicode-width 0.1.10
  • version_check 0.9.4
  • walkdir 2.3.2
  • wasi 0.11.0+wasi-snapshot-preview1
  • wasm-bindgen 0.2.83
  • wasm-bindgen-backend 0.2.83
  • wasm-bindgen-macro 0.2.83
  • wasm-bindgen-macro-support 0.2.83
  • wasm-bindgen-shared 0.2.83
  • web-sys 0.3.60
  • winapi 0.3.9
  • winapi-i686-pc-windows-gnu 0.4.0
  • winapi-util 0.1.5
  • winapi-x86_64-pc-windows-gnu 0.4.0
  • zeroize 1.5.7
frontend/package-lock.json npm
  • 564 dependencies
frontend/package.json npm
  • @mdx-js/loader ^2.2.1
  • @mdx-js/react ^2.2.1
  • @next/font 13.1.1
  • @next/mdx ^13.1.1
  • @nivo/bar ^0.80.0
  • @nivo/core ^0.80.0
  • @nivo/line ^0.80.0
  • antd ^5.1.2
  • eslint 8.31.0
  • eslint-config-next 13.1.1
  • highlight.js ^11.7.0
  • highlightjs-line-numbers.js ^2.8.0
  • katex ^0.16.4
  • mathjs ^11.5.0
  • next 13.1.1
  • nextjs-progressbar ^0.0.16
  • postscribe ^2.0.8
  • react 18.2.0
  • react-dom 18.2.0
  • react-katex ^3.0.1
backend/pasta_curves/Cargo.lock cargo
  • anes 0.1.6
  • arrayref 0.3.6
  • arrayvec 0.7.2
  • atty 0.2.14
  • autocfg 1.1.0
  • bitflags 1.3.2
  • bitvec 1.0.1
  • blake2b_simd 1.0.0
  • bumpalo 3.12.0
  • cast 0.3.0
  • cfg-if 1.0.0
  • ciborium 0.2.0
  • ciborium-io 0.2.0
  • ciborium-ll 0.2.0
  • clap 3.2.23
  • clap_lex 0.2.4
  • constant_time_eq 0.1.5
  • criterion 0.4.0
  • criterion-plot 0.5.0
  • crossbeam-channel 0.5.6
  • crossbeam-deque 0.8.2
  • crossbeam-epoch 0.9.13
  • crossbeam-utils 0.8.14
  • either 1.8.0
  • ff 0.13.0
  • funty 2.0.0
  • getrandom 0.2.8
  • group 0.13.0
  • half 1.8.2
  • hashbrown 0.12.3
  • hermit-abi 0.2.6
  • hermit-abi 0.1.19
  • indexmap 1.9.2
  • itertools 0.10.5
  • itoa 1.0.5
  • js-sys 0.3.60
  • lazy_static 1.4.0
  • libc 0.2.139
  • log 0.4.17
  • memoffset 0.7.1
  • num-traits 0.2.15
  • num_cpus 1.15.0
  • once_cell 1.17.0
  • oorandom 11.1.3
  • os_str_bytes 6.4.1
  • pasta_curves 0.5.0
  • pin-project-lite 0.2.9
  • plotters 0.3.4
  • plotters-backend 0.3.4
  • plotters-svg 0.3.3
  • ppv-lite86 0.2.17
  • proc-macro2 1.0.50
  • quote 1.0.23
  • radium 0.7.0
  • rand 0.8.5
  • rand_chacha 0.3.1
  • rand_core 0.6.4
  • rayon 1.6.1
  • rayon-core 1.10.1
  • regex 1.7.1
  • regex-syntax 0.6.28
  • ryu 1.0.12
  • same-file 1.0.6
  • scopeguard 1.1.0
  • serde 1.0.152
  • serde_derive 1.0.152
  • serde_json 1.0.91
  • static_assertions 1.1.0
  • subtle 2.4.1
  • syn 1.0.107
  • tap 1.0.1
  • textwrap 0.16.0
  • tinytemplate 1.2.1
  • tracing 0.1.37
  • tracing-attributes 0.1.23
  • tracing-core 0.1.30
  • unicode-ident 1.0.6
  • walkdir 2.3.2
  • wasi 0.11.0+wasi-snapshot-preview1
  • wasm-bindgen 0.2.83
  • wasm-bindgen-backend 0.2.83
  • wasm-bindgen-macro 0.2.83
  • wasm-bindgen-macro-support 0.2.83
  • wasm-bindgen-shared 0.2.83
  • web-sys 0.3.60
  • winapi 0.3.9
  • winapi-i686-pc-windows-gnu 0.4.0
  • winapi-util 0.1.5
  • winapi-x86_64-pc-windows-gnu 0.4.0
  • wyz 0.5.1
backend/pasta_curves/Cargo.toml cargo
  • criterion 0.4 development
  • group 0.13
  • pasta_curves 0.5
  • rand 0.8
backend/zkcrypto/Cargo.lock cargo
  • anes 0.1.6
  • atty 0.2.14
  • autocfg 1.1.0
  • bitflags 1.3.2
  • bitvec 1.0.1
  • bls12_381 0.7.1
  • bumpalo 3.12.0
  • cast 0.3.0
  • cfg-if 1.0.0
  • ciborium 0.2.0
  • ciborium-io 0.2.0
  • ciborium-ll 0.2.0
  • clap 3.2.23
  • clap_lex 0.2.4
  • criterion 0.4.0
  • criterion-plot 0.5.0
  • crossbeam-channel 0.5.6
  • crossbeam-deque 0.8.2
  • crossbeam-epoch 0.9.13
  • crossbeam-utils 0.8.14
  • either 1.8.0
  • ff 0.12.1
  • funty 2.0.0
  • getrandom 0.2.8
  • group 0.12.1
  • half 1.8.2
  • hashbrown 0.12.3
  • hermit-abi 0.1.19
  • hermit-abi 0.2.6
  • indexmap 1.9.2
  • itertools 0.10.5
  • itoa 1.0.5
  • js-sys 0.3.60
  • jubjub 0.9.0
  • lazy_static 1.4.0
  • libc 0.2.139
  • log 0.4.17
  • memoffset 0.7.1
  • num-traits 0.2.15
  • num_cpus 1.15.0
  • once_cell 1.17.0
  • oorandom 11.1.3
  • os_str_bytes 6.4.1
  • pairing 0.22.0
  • plotters 0.3.4
  • plotters-backend 0.3.4
  • plotters-svg 0.3.3
  • ppv-lite86 0.2.17
  • proc-macro2 1.0.50
  • quote 1.0.23
  • radium 0.7.0
  • rand 0.8.5
  • rand_chacha 0.3.1
  • rand_core 0.6.4
  • rayon 1.6.1
  • rayon-core 1.10.1
  • regex 1.7.1
  • regex-syntax 0.6.28
  • ryu 1.0.12
  • same-file 1.0.6
  • scopeguard 1.1.0
  • serde 1.0.152
  • serde_derive 1.0.152
  • serde_json 1.0.91
  • subtle 2.4.1
  • syn 1.0.107
  • tap 1.0.1
  • textwrap 0.16.0
  • tinytemplate 1.2.1
  • unicode-ident 1.0.6
  • walkdir 2.3.2
  • wasi 0.11.0+wasi-snapshot-preview1
  • wasm-bindgen 0.2.83
  • wasm-bindgen-backend 0.2.83
  • wasm-bindgen-macro 0.2.83
  • wasm-bindgen-macro-support 0.2.83
  • wasm-bindgen-shared 0.2.83
  • web-sys 0.3.60
  • winapi 0.3.9
  • winapi-i686-pc-windows-gnu 0.4.0
  • winapi-util 0.1.5
  • winapi-x86_64-pc-windows-gnu 0.4.0
  • wyz 0.5.1
backend/zkcrypto/Cargo.toml cargo
  • criterion 0.4 development
  • bls12_381 0.7
  • group 0.12
  • jubjub 0.9
  • pairing 0.22
  • rand 0.8
backend/arkworks/Cargo.toml cargo
backend/blstrs/Cargo.toml cargo
backend/curve25519-dalek/Cargo.toml cargo
backend/halo2_curves/Cargo.lock cargo
  • 101 dependencies
backend/halo2_curves/Cargo.toml cargo
backend/pairing_ce/Cargo.lock cargo
  • 107 dependencies
backend/pairing_ce/Cargo.toml cargo
backend/ffjavascript/package.json npm
  • ffjavascript ^0.2.59
  • tinybench ^2.5.0