Decision Workspace
sm-crypto vs encryption-rust vs gm-tls
Side-by-side comparison of Rust crates
42
sm-crypto
experimentalv0.1.9
A Rust Implementation of China's Standards of Encryption Algorithms(SM2/SM3/SM4)
52
encryption-rust
experimentalv1.2.0
可插拔密码学组件库的 Rust 实现:在统一契约下提供对称加密、非对称加密、哈希、密钥派生(HKDF / PBKDF2 / Argon2 / scrypt)、签名(SM2 / ECDSA / Ed25519)、密钥协商(ECDH / X25519)与后量子密钥封装(ML-KEM),包含 AES/Sodium 与国密 SM2/SM3/SM4/ZUC 等实现
49
gm-tls
experimentalv0.2.16
TLS 1.3 core library with SM (国密) cipher suites — SM2/SM3/SM4, optional gRPC integration. TLCP (GB/T 38636-2020) lives in the standalone gm-tlcp crate.
Core Metrics
| sm-crypto | encryption-rust | gm-tls | |
|---|---|---|---|
| Health Score | 42 | 52 | 49 |
| Total Downloads | 4.0K | 55 | 432 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 16 | 0 | 8 |
| Releases | 10 | 5 | 7 |
| Last Updated | 263d ago | 1d ago | today |
| Age | 9m | 3d | 2m |
Health Breakdown
sm-crypto
Maintenance
10
Quality
12
Community
6
Popularity
4
Documentation
10
encryption-rust
Maintenance
19
Quality
14
Community
5
Popularity
2
Documentation
12
gm-tls
Maintenance
14
Quality
11
Community
9
Popularity
3
Documentation
12
Technical Details
| sm-crypto | encryption-rust | gm-tls | |
|---|---|---|---|
| Version | 0.1.9 | 1.2.0 | 0.2.16 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 9 | 54 | 37 |
| Crate Size | 18KB | 347KB | 168KB |
| Features | 0 | 9 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.88 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •encryption-rust leads with a health score of 52/100, but none of the options score above 80.
- •sm-crypto has the most downloads (4.0K), suggesting wider adoption.
- •sm-crypto, gm-tls are pre-1.0 — API may change.