Skip to main content

Module fiduciary_crypto

Module fiduciary_crypto 

Source
Expand description

Fiduciary Cryptography (ML-DSA / FIPS-204) Implementation

Post-quantum digital signatures using real ML-DSA-65 (FIPS-204, NIST security category 3) via the pure-Rust fips204 crate. Produced signatures are interoperable with any conformant FIPS-204 implementation. Pure Rust, WASM-compatible (uses getrandom for entropy).

NOTE: revisions before 0.0.12 contained a SHA3-based simulation of ML-DSA for demonstration only. That fake lattice path has been removed and replaced with the standardized algorithm. The serialized key/signature byte layouts therefore changed.

Structs§

AuditEntry
Audit entry for cryptographic operations
ComplianceChecker
Compliance checker for cryptographic operations
ContextManager
Context manager for cryptographic operations
CryptoContext
Cryptographic context for signatures
FiduciaryCrypto
Fiduciary cryptographic operations
FiduciaryStandards
Fiduciary standards compliance
KeyRotationPolicy
Key rotation policy
MlDsaKeyManager
Key management for ML-DSA
MlDsaPrivateKey
ML-DSA-65 private (secret) key — FIPS-204 serialized form (SK_LEN = 4032 bytes).
MlDsaPublicKey
ML-DSA-65 public key — FIPS-204 serialized form (PK_LEN = 1952 bytes).
MlDsaSignature
ML-DSA-65 signature — FIPS-204 serialized form (SIG_LEN = 3309 bytes).
MlDsaSigner
ML-DSA cryptographic signer
MlDsaVcProof
ML-DSA VC proof fragment layout for multi-Quin storage A 3309-byte ML-DSA signature spans ~414 NQuins (8 bytes per object field)

Enums§

MlDsaError
ML-DSA error types

Constants§

ML_DSA_PRIVATE_KEY_SIZE
ML_DSA_PUBLIC_KEY_SIZE
ML_DSA_SECURITY_LEVEL
ML-DSA-65 parameters (FIPS-204, NIST security category 3).
ML_DSA_SIGNATURE_SIZE