Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/s1nus/poseidon-smt
Based on monotree
https://github.com/s1nus/poseidon-smt
Last synced: 5 days ago
JSON representation
Based on monotree
- Host: GitHub
- URL: https://github.com/s1nus/poseidon-smt
- Owner: S1nus
- License: mit
- Created: 2023-07-27T11:05:25.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-07-27T13:21:07.000Z (over 1 year ago)
- Last Synced: 2023-08-06T08:11:18.952Z (over 1 year ago)
- Language: Rust
- Size: 204 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
Fork of [Monotree](https://github.com/thyeem/monotree) using [poseidon-rs](https://github.com/arnaucube/poseidon-rs).
Hash uses 21888242871839275222246405745257275088548364400416034343698204186575808495617 as the field modulus.
The chosen field can only represent 253 bits of data, so we split the preimages into chunks of 31 bytes, and pass a vector of field elements into the Poseidon hasher.
Performance of many operations is slow. Optimizations might be possible through parallelization.