Repository navigation
v0.13.0-beta.1
Pre-release
Pre-release
·
250 commits
to master
since this release
v0.13.0-beta.1: Advanced Primitives & Crate Refactoring
This release marks a significant step forward for the DePIN Network ecosystem, introducing foundational support for advanced pairing-based cryptography and a major ergonomic refactoring of the dcrypt-sign crate. We've also completed a comprehensive overhaul of our documentation to improve clarity and developer experience.
🚨 BREAKING CHANGES
The dcrypt-sign crate has been significantly refactored to simplify its internal structure and improve usability.
- The
traditionalandpq(post-quantum) submodules have been removed. - All signature algorithm modules (e.g.,
dilithium,ecdsa,eddsa) are now located at the top level of the crate.
Users will need to update their import paths accordingly. For example:
-
Before:
use dcrypt::sign::pq::dilithium::Dilithium2; -
After:
use dcrypt::sign::dilithium::Dilithium2; -
Before:
use dcrypt::sign::traditional::ecdsa::EcdsaP256; -
After:
use dcrypt::sign::ecdsa::EcdsaP256;
🚀 Features
- BLS12-381 Pairing-Friendly Curve Support (
dcrypt-algorithms)
This release introduces a full implementation of the BLS12-381 curve, a foundational primitive for advanced, pairing-based cryptography. This is a major step that enables the development of next-generation protocols on top of DCRYPT.- Includes types and operations for G1, G2, and Gt groups.
- Provides an implementation of the optimal Ate pairing function.
- Adds new Cargo features
groupsandpairingsfor modular inclusion of this functionality.
🧹 Refactoring & Improvements
- Flattened
dcrypt-signCrate Structure
To improve ergonomics and simplify the module hierarchy, thedcrypt-signcrate has been flattened. This refactoring removes the separation between "traditional" and "post-quantum" modules, leading to cleaner import paths and a more intuitive crate layout for developers.
📚 Documentation
- Comprehensive Documentation Overhaul
The documentation for a majority of the DCRYPT crates has been completely rewritten and expanded. The new documentation provides more detailed explanations of the cryptographic schemes, better usage examples, and is fully aligned with the latest code structure and features. This includes major updates to theREADME.mdfiles for:dcrypt-algorithmsdcrypt-kemdcrypt-signdcrypt-pkedcrypt-hybrid- ... and all of their sub-modules.