Decision Workspace
sm2 vs ed25519 vs ecdsa
Side-by-side comparison of Rust crates
60
sm2
growingv0.13.3
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.
73
ed25519
stablev2.2.3
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
68
ecdsa
growingv0.16.9
Pure Rust implementation of the Elliptic Curve Digital Signature Algorithm (ECDSA) as specified in FIPS 186-4 (Digital Signature Standard), providing RFC6979 deterministic signatures as well as support for added entropy
Core Metrics
| sm2 | ed25519 | ecdsa | |
|---|---|---|---|
| Health Score | 60 | 73 | 68 |
| Total Downloads | 31.2K | 119.9M | 127.2M |
| 30d Downloads | 3.1K | 12.7M | 11.2M |
| Dependents | 13 | 1.5K | 2.8K |
| Releases | 15 | 41 | 103 |
| Last Updated | 17d ago | 53d ago | 53d ago |
| Age | 6y | 9y 5m | 7y 5m |
Health Breakdown
sm2
Maintenance
15
Quality
11
Community
14
Popularity
5
Documentation
15
ed25519
Maintenance
15
Quality
15
Community
20
Popularity
8
Documentation
15
ecdsa
Maintenance
16
Quality
12
Community
20
Popularity
8
Documentation
12
Technical Details
| sm2 | ed25519 | ecdsa | |
|---|---|---|---|
| Version | 0.13.3 | 2.2.3 | 0.16.9 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 OR MIT | Apache-2.0 OR MIT | Apache-2.0 OR MIT |
| Dependencies | 9 | 10 | 11 |
| Crate Size | 111KB | 18KB | 31KB |
| Features | 9 | 5 | 12 |
| Yanked % | 13.3% | 36.6% | 23.3% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.65 | 1.60 | 1.65 |
| Owners | 2 (team) | 2 (team) | 2 (team) |
Links
Quick Verdict
- •ed25519 leads with a health score of 73/100, but none of the options score above 80.
- •ecdsa has the most downloads (127.2M), suggesting wider adoption.
- •ecdsa is depended on by 2.8K crates — strongest ecosystem trust.
- •sm2, ecdsa are pre-1.0 — API may change.