Repository navigation
DCRYPT v0.5.0 Core Foundation Release
Pre-release
Pre-release
This release completes the fundamental cryptographic components of the DCRYPT library, providing a solid foundation for the DePIN Network's cryptographic infrastructure.
Features Complete
dcrypt-primitives (100% complete)
- ✅ Hash functions (SHA-2, SHA-3, SHAKE)
- ✅ Block ciphers (AES-128, AES-192, AES-256)
- ✅ Block cipher modes (CBC, CTR)
- ✅ AEAD constructions (GCM, ChaCha20Poly1305, XChaCha20Poly1305)
- ✅ Stream ciphers (ChaCha20)
- ✅ MAC algorithms (Poly1305)
- ✅ XOF implementations (BLAKE3, SHAKE)
- ✅ 89 test cases passing with full coverage
dcrypt-symmetric (100% complete) - ✅ AES-GCM implementation with key management
- ✅ ChaCha20Poly1305 cipher implementation
- ✅ XChaCha20Poly1305 implementation for extended nonces
- ✅ Streaming AEAD interfaces
- ✅ Memory-safe key management with automatic zeroizing
dcrypt-core (100% complete) - ✅ Common mathematical operations
- ✅ Error handling framework
- ✅ Constant-time selection and comparison
- ✅ Secure zeroing for sensitive data
- ✅ Serialization traits
- ✅ Core traits for cryptographic operations
- ✅ Type-safe key structures
dcrypt-constants (100% complete) - ✅ Traditional algorithm constants
- ✅ Post-quantum algorithm constants
- ✅ Utility constants
Technical Highlights - Pure Rust Implementation: All components built in 100% safe Rust with no FFI
- Memory Safety: Automatic zeroizing for sensitive data with Zeroize trait implementation
- Constant-Time Operations: Side-channel resistant implementations for all security-critical functions
- Comprehensive Testing: All primitives fully tested against standard test vectors
Breaking Changes
None (initial implementation of these modules)
Known Issues
- Some unused imports and dead code warnings to be addressed in future cleanup
- Optimizations for SIMD acceleration planned for future versions
Next Steps
Work has begun on: - dcrypt-kem: Key Encapsulation Mechanisms (RSA, Kyber, NTRU)
- dcrypt-sign: Digital signature schemes (Ed25519, ECDSA, Dilithium)
Dependencies - rand 0.8.5
- zeroize 1.5.7
- No other external dependencies