Decision Workspace
sm4-gcm vs aes-gcm-stream vs sm4
Side-by-side comparison of Rust crates
34
sm4-gcm
growingv0.1.2
SM4-GCM Library
42
aes-gcm-stream
growingv0.2.4
AES GCM stream encrypt and decrypt library, supports AES128/192/256 bit keys
60
sm4
growingv0.6.0
SM4 block cipher algorithm
Core Metrics
| sm4-gcm | aes-gcm-stream | sm4 | |
|---|---|---|---|
| Health Score | 34 | 42 | 60 |
| Total Downloads | 6.9K | 23.3K | 286.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 35 | 197 |
| Releases | 3 | 7 | 11 |
| Last Updated | 998d ago | 693d ago | 182d ago |
| Age | 3y 1m | 3y 1m | 6y 12m |
Health Breakdown
sm4-gcm
Maintenance
4
Quality
8
Community
7
Popularity
5
Documentation
10
aes-gcm-stream
Maintenance
4
Quality
14
Community
9
Popularity
5
Documentation
10
sm4
Maintenance
8
Quality
13
Community
17
Popularity
7
Documentation
15
Technical Details
| sm4-gcm | aes-gcm-stream | sm4 | |
|---|---|---|---|
| Version | 0.1.2 | 0.2.4 | 0.6.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 7 | 3 |
| Crate Size | 8KB | 12KB | 10KB |
| Features | 0 | 0 | 1 |
| Yanked % | 33.3% | 0.0% | 9.1% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •sm4 leads with a health score of 60/100, but none of the options score above 80.
- •sm4 is depended on by 197 crates — strongest ecosystem trust.
- •⚠ sm4-gcm, aes-gcm-stream have not been updated in over a year.