Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

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.

Familys signature (bytes)f signature (bytes)
SHAKE-128785617088
SHAKE-1921622435664
SHAKE-2562979249856

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