Decision Workspace
sirp vs discrete-logarithm vs ecm
Side-by-side comparison of Rust crates
38
sirp
growingv0.1.1
Computing properties of factorials, k-factorials and SIRPs
66
discrete-logarithm
stablev2.0.0
Fast discrete logarithm solver
63
ecm
stablev2.0.0
Fast integer factorization with the elliptic curve method (ECM), P-1 and P+1, following GMP-ECM
Core Metrics
| sirp | discrete-logarithm | ecm | |
|---|---|---|---|
| Health Score | 38 | 66 | 63 |
| Total Downloads | 3.0K | 12.8K | 22.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 19 | 24 |
| Releases | 2 | 5 | 12 |
| Last Updated | 1740d ago | 13d ago | 13d ago |
| Age | 4y 10m | 3y 2m | 3y 3m |
Health Breakdown
sirp
Maintenance
3
Quality
15
Community
6
Popularity
4
Documentation
10
discrete-logarithm
Maintenance
18
Quality
21
Community
10
Popularity
5
Documentation
12
ecm
Maintenance
17
Quality
19
Community
10
Popularity
5
Documentation
12
Technical Details
| sirp | discrete-logarithm | ecm | |
|---|---|---|---|
| Version | 0.1.1 | 2.0.0 | 2.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | LGPL-3.0-or-later |
| Dependencies | 1 | 5 | 11 |
| Crate Size | 3KB | 88KB | 188KB |
| Features | 0 | 3 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.86 | 1.87 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •discrete-logarithm leads with a health score of 66/100, but none of the options score above 80.
- •ecm has the most downloads (22.5K), suggesting wider adoption.
- •⚠ sirp has not been updated in over a year.
- •sirp is pre-1.0 — API may change.