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§
- Audit
Entry - Audit entry for cryptographic operations
- Compliance
Checker - Compliance checker for cryptographic operations
- Context
Manager - Context manager for cryptographic operations
- Crypto
Context - Cryptographic context for signatures
- Fiduciary
Crypto - Fiduciary cryptographic operations
- Fiduciary
Standards - Fiduciary standards compliance
- KeyRotation
Policy - Key rotation policy
- MlDsa
KeyManager - Key management for ML-DSA
- MlDsa
Private Key - ML-DSA-65 private (secret) key — FIPS-204 serialized form (
SK_LEN= 4032 bytes). - MlDsa
Public Key - ML-DSA-65 public key — FIPS-204 serialized form (
PK_LEN= 1952 bytes). - MlDsa
Signature - ML-DSA-65 signature — FIPS-204 serialized form (
SIG_LEN= 3309 bytes). - MlDsa
Signer - ML-DSA cryptographic signer
- MlDsa
VcProof - 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§
- MlDsa
Error - 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