Decision Workspace
poseidon-hash vs poseidon2 vs soroban-poseidon
Side-by-side comparison of Rust crates
51
poseidon-hash
experimentalv0.1.4
Rust implementation of Poseidon2 hash function and Goldilocks field arithmetic
42
poseidon2
experimentalv0.0.1
Poseidon2 hash over BN254 (t=3, Horizen Labs parameters) — the permutation plus a length-seeded rate-2 sponge, KAT-validated.
63
soroban-poseidon
growingv28.0.0
Poseidon and Poseidon2 cryptographic hash functions for Soroban smart contracts
Core Metrics
| poseidon-hash | poseidon2 | soroban-poseidon | |
|---|---|---|---|
| Health Score | 51 | 42 | 63 |
| Total Downloads | 32.4K | 867 | 123.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 10 | 0 | 0 |
| Releases | 4 | 1 | 7 |
| Last Updated | 220d ago | 79d ago | 18d ago |
| Age | 11m | 2m | 9m |
Health Breakdown
poseidon-hash
Maintenance
9
Quality
15
Community
9
Popularity
5
Documentation
13
poseidon2
Maintenance
9
Quality
14
Community
5
Popularity
4
Documentation
10
soroban-poseidon
Maintenance
21
Quality
15
Community
6
Popularity
6
Documentation
15
Technical Details
| poseidon-hash | poseidon2 | soroban-poseidon | |
|---|---|---|---|
| Version | 0.1.4 | 0.0.1 | 28.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | Apache-2.0 |
| Dependencies | 4 | 2 | 2 |
| Crate Size | 27KB | 11KB | 180KB |
| Features | 2 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 14.3% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | — | 1.92.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •soroban-poseidon leads with a health score of 63/100, but none of the options score above 80.
- •poseidon-hash, poseidon2 are pre-1.0 — API may change.