Use hash-based signatures with SLH-DSA
SLH-DSA links small hash-based signatures in a tree structure. The verifier reconstructs the root from the signature and message and checks it against the public key. Signers can use a signature scheme independent of lattices without keeping a persistent record of how many times they have used the key.
How it works · SLH-DSA hash chains and trees
QuantAegis implements the SHAKE parameter sets from FIPS 205. Each security level offers an s variant with shorter signatures and an f variant with faster signing. Choose based on the amount of data you can store or transmit and the processing time available to the signer.
| Family | s signature (bytes) | f signature (bytes) |
|---|---|---|
| SHAKE-128 | 7856 | 17088 |
| SHAKE-192 | 16224 | 35664 |
| SHAKE-256 | 29792 | 49856 |
In Python, try the same steps from the signing tutorial with SlhDsaShake128f in place of MlDsa65. In Rust, if stack space is limited, use sign_into with a caller-provided signature buffer. Signing example · Support by language · Rust API · FIPS 205