CryptGuard: Sign Programming Library
Introduction
CryptGuard: Sign is a comprehensive cryptographic library, offering robust signing and verification capabilities. Designed for developers, CryptGuard: Sign empowers applications to withstand future digital security challenges. Embrace CryptGuard: Sign as your trusted ally in safeguarding privacy in the digital realm.
Prerequisites
Ensure your system has the latest stable versions of Rust, Cargo, and the Tokio runtime environment.
Usage
New Feature: Dilithium
The dilithium feature in CryptGuard: Sign introduces the Dilithium algorithm, a post-quantum cryptographic signing method. This feature is optional and can be enabled in your Cargo.toml.
Signing a Message with Dilithium
To sign a message using Dilithium,
async
Verifying a Signed Message with Dilithium
To verify a signed message,
async
Signing a File with Dilithium
For signing a file using Dilithium,
async
These examples demonstrate the usage of the dilithium feature in CryptGuard: Sign for signing and verifying messages and files, showcasing the library's capabilities with post-quantum cryptography.
Signing a Message
To sign a message,
async
Signing a File
For signing a file,
async
Dependencies
CryptGuard: Sign depends on several external crates, specified in Cargo.toml:
aes: 0.8.3tokio: 1.35.1 (withfullfeature)colored: 2.1.0env: 0.0.0hex: 0.4.3hmac: 0.12.1indicatif: 0.17.7pqcrypto-falcon: 0.3.0pqcrypto-dilithium: 0.5.0pqcrypto-kyber: 0.8.0pqcrypto-traits: 0.3.5rand: 0.8.5sha2: 0.10.8tempfile: 3.9.0
License
CryptGuard: Sign is licensed under the MIT LICENSE. The full license text is available in the LICENSE file in the repository.
You now have the complete README.md content with the updated examples for CryptGuard.