DI Management Home > Cryptography > SLH-DSA > How many FORS private keys are there?

SLH-DSA: how many FORS private keys are there?


As an aside, let us consider how many FORS private keys there are.

Small example

Here is an example of a small tree from the SPHINCS+ paper and a diagram of one FTS node. The small tree has $h=9$ and $d=3$.

Small WOTS tree

This small tree has $(2^{h/d})^d = (2^3)^3 = 2^9 = 512$ OTS nodes at the bottom HT layer, each able to sign a FORS tree (FTS node). Each FORS tree has $k\times t$ private key values, where $k$ and $t$ are parameters of the FORS tree.

FTS node

So if, for example, we have $k=32$ binary hash trees and the height $a$ of the FORS tree is $a=4$ giving $t=2^a=16$, then we have $512 \times 32 \times 16 = 2^{18} = 262144$ private key values.

A real example

Expanding this to use the parameters for SLH-DSA-SHA2-128f, namely $h=66,\, d=22,\, k=33,\, a =6,\, t=2^a=2^6=64$, we have.

<< previous: SLH-DSA Introduction Contents next: SLH-DSA Example >>

Rate this page

Contact us

To comment on this page or to contact us, please send us a message.

This page first published 17 March 2023. Last updated 16 February 2026.