Skip to main content

Module mldsa

Module mldsa 

Source
Expand description

ML-DSA-65 adapter with length-delimited network context.

Historical fiduciary_crypto context hashing concatenates domain and purpose without lengths. This adapter uses an unambiguous length-delimited context so old signatures cannot silently acquire the new interpretation.

Functionsยง

generate_keypair
ML-DSA-65 keypair generation.
sign
ML-DSA-65 sign over message+context.
verify
ML-DSA-65 verify; fails closed on bad signature.