Skip to main content

Crate quantaegis_core

Crate quantaegis_core 

Source
Expand description

Core abstractions and security primitives for the quantaegis-* Post-Quantum Cryptography workspace.

§Security Guarantees & Design

  • #![no_std] with zero external dependencies and no alloc requirement.
  • #![forbid(unsafe_code)] across the entire crate.
  • Constant-time comparison and selection utilities (ct).
  • Automatic secret zeroization wrappers (zeroize, secret) that redact secrets in Debug.
  • Misuse-resistant kem::Kem and rng::CryptoRng trait abstractions.

Note: Pre-1.0.0 software — an independent third-party cryptographic audit has not yet been completed; please take this into account when using this crate. The project-wide maturity stage is tracked in one place: SECURITY.md.

Re-exports§

pub use ct::Choice;
pub use error::Error;
pub use error::Result;
pub use kem::Kem;
pub use rng::CryptoRng;
pub use secret::SecretBytes;
pub use secret::SharedSecret;
pub use signature::Signature;
pub use zeroize::Zeroize;

Modules§

ct
Constant-time primitives for branchless cryptographic operations.
error
Structured error types shared across the quantaegis-* workspace.
kem
Key Encapsulation Mechanism (KEM) trait abstraction.
rng
Cryptographically secure random number generator abstraction.
secret
Type-safe secret wrappers that automatically zeroize on drop and redact debug output.
signature
Digital Signature trait abstraction.
zeroize
Memory zeroization utilities for clearing sensitive cryptographic material.