pluto/ronkathon
关于
密码学教育基础
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文ronkathon
Overview
Ronkathon is a collection of cryptographic primitives implemented in Rust. It is inspired by the python plonkathon repository and plonk-by-hand. We use the same curve and field as plonk-by-hand (which is not secure) and the goal of this repository is to work towards building everything from scratch to understand everything from first principles.
Primitives
- Fundamental Algebraic Structures
- Curves and Their Pairings
- Polynomials
- KZG Commitments
- Reed-Solomon Codes
- Merkle Proofs
- DSL
Signatures
Encryption
Asymmetric
Symmetric
Ciphers:
-
- ECB, CBC, CTR, GCM
Hash
Resources
We have found the following resources helpful in understanding the foundational mathematics behind this implementation. After going through these, you should be able to understand the codebase
Theoretic Resources
Code References
Math
To see computations used in the background, go to the math/ directory.
From there, you can run the .sage files in a SageMath environment.
In particular, the math/field.sage computes roots of unity in the PlutoField which is of size 101. To install sage on your machine, follow the instructions here. If you are on a Mac, you can install it via homebrew with brew install --cask sage.
Building mdBook
To locally build/serve the mdBook site, install mdBook and mdbook-katex:
cargo install mdbook
cargo install mdbook-katex
To build, run:
cargo run --bin create_mdbook
cp -r assets book/
mdbook build
If you want to serve locally, run mdbook serve.
License
Licensed under the Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
Contributing
We welcome contributions to our open-source projects. If you want to contribute or follow along with contributor discussions, join our main Telegram channel to chat about Pluto's development.
Our contributor guidelines can be found at CONTRIBUTING.md. A good starting point is issues labelled 'bounty' in our repositories.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.
探索相关项目
加载中…