Decision Workspace
sm2 vs ed25519 vs ecdsa
Side-by-side comparison of Rust crates
69
sm2
growingv0.14.0
Pure Rust implementation of the SM2 elliptic curve as defined in the Chinese national standard GM/T 0003-2012 as well as ISO/IEC 14888. Includes support for the SM2DSA Digital Signature Algorithm.
69
ed25519
growingv3.0.0
Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032) support library providing signature type definitions and PKCS#8 private key decoding/encoding support
66
ecdsa
growingv0.17.0
Pure Rust implementation of the Elliptic Curve Digital Signature Algorithm (ECDSA) as specified in FIPS 186-4 (Digital Signature Standard), implemented generically over elliptic curves, providing RFC6979 deterministic signing support as well as randomized signatures and signature verification
Core Metrics
| sm2 | ed25519 | ecdsa | |
|---|---|---|---|
| Health Score | 69 | 69 | 66 |
| Total Downloads | 61.0K | 243.9M | 247.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 85 | 1.7K | 4.2K |
| Releases | 23 | 43 | 111 |
| Last Updated | 7d ago | 159d ago | 99d ago |
| Age | 6y 7m | 10y | 7y 11m |
Health Breakdown
sm2
Maintenance
18
Quality
14
Community
16
Popularity
6
Documentation
15
ed25519
Maintenance
11
Quality
15
Community
20
Popularity
8
Documentation
15
ecdsa
Maintenance
14
Quality
12
Community
20
Popularity
8
Documentation
12
Technical Details
| sm2 | ed25519 | ecdsa | |
|---|---|---|---|
| Version | 0.14.0 | 3.0.0 | 0.17.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 OR MIT | Apache-2.0 OR MIT | Apache-2.0 OR MIT |
| Dependencies | 14 | 6 | 11 |
| Crate Size | 41KB | 19KB | 37KB |
| Features | 11 | 4 | 11 |
| Yanked % | 8.7% | 34.9% | 21.6% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | 1.85 | 1.85 |
| Owners | 2 (team) | 2 (team) | 2 (team) |
Links
Quick Verdict
- •sm2 leads with a health score of 69/100, but none of the options score above 80.
- •ecdsa has the most downloads (247.6M), suggesting wider adoption.
- •ecdsa is depended on by 4.2K crates — strongest ecosystem trust.
- •sm2, ecdsa are pre-1.0 — API may change.