Cryptographic primitives
Randomness abstraction, hashing, KDF, KEM, digital signatures, AEAD and key serialization. The module does not own key lifecycles or OS access.
NEXUS-Q follows a library-first, four-layer architecture. Interfaces consume the public Rust API; the core depends on backend traits; only backend implementations talk to operating systems, filesystems or devices.
Conceptual view based on the repository architecture document. It shows responsibilities and dependency direction, not a claim that every optional backend or SDK is shipped on every platform.
Randomness abstraction, hashing, KDF, KEM, digital signatures, AEAD and key serialization. The module does not own key lifecycles or OS access.
Encrypted vault operations and key lifecycle management, with versioned persistent formats and atomic-write design.
Signing, verification, rotation, revocation and signed credential workflows.
Policy checks gate operations. Errors should fail closed rather than return partial plaintext or silently downgrade.
Versioned vault, envelope and storage formats; storage owns the audit subsystem.
HMAC-authenticated audit events and a persisted vault-state anchor help detect tampering, rollback or truncation within the documented model.
CLI and server are consumers of the Rust library, not separate cryptographic implementations.
Traits define extension points. Their existence does not mean every TPM, HSM, enclave or Secure Element has a supported, tested production adapter.
Secret material is cleared when no longer needed where the platform permits; this is not a guarantee against a compromised OS or process.
Persistent formats carry version information; migrations are treated as an explicit compatibility concern.
Primary source: docs/ARCHITECTURE.md at v4.1.2 ↗. Also see security model ↗.