WOTS+ (Winternitz One-Time Signatures)
WOTS+ (Winternitz One-Time Signature Plus) is the hash-based one-time signature scheme inside XMSS and SLH-DSA (SPHINCS+), and the scheme some blockchains use directly: Solana’s quantum-resistant vault program signs with it, and IOTA has used Winternitz signatures since its 2016 genesis.
How it works
WOTS+ signs by publishing intermediate values from hash chains. From a secret seed, the signer computes chains of iterated hash function calls; the public key is the end of each chain; a signature reveals the chain values at positions determined by the message digits. Verification walks each published value forward the remaining steps and checks it lands on the public chain end.
The Winternitz parameter w controls the trade-off:
- Larger w means fewer, longer chains: smaller signatures, more hashing per signature
- Smaller w means more, shorter chains: bigger signatures, faster signing
A checksum appended to the message is what makes the scheme sound: hash chains only walk forward, so without it an attacker could take an honest signature and hash its way to any message whose digits are all at least as large. Raising a message digit lowers the checksum digit, and lowering that one would require inverting the hash.
The one-time constraint
The name says it: a WOTS+ key pair must sign one message. Each signature publishes chain values that sit “partway up” the chains; an attacker collecting two signatures over different messages can combine the intermediate values and from them forge signatures for messages the owner never signed.
Blockchains are unusual in that they can enforce the constraint on-chain. A vault program can reject a second use of the same signing leaf, or require the whole leaf to be consumed and replaced, which turns a cryptographic footgun into a protocol rule. That is the pattern Solana’s Winternitz Vault uses.
Size and speed
At 32-byte hashes and w = 16, a WOTS+ signature is about 2.1 KB (67 chain values); the public key is the same order. Larger w shrinks signatures and increases hashing time. Both key and signature are a few kilobytes at practical parameters, roughly thirty times the size of an ECDSA signature, but built from nothing but a hash function: the same conservative assumption as SLH-DSA and XMSS.
Composing into many-time schemes
One key pair, one message. The standard way out is a Merkle tree: generate many WOTS+ leaves, certify each leaf’s public key in a tree, and sign each message with one leaf plus the authentication path. That construction is XMSS (stateful, fixed order) and, with a pseudo-random leaf choice and FORS, SLH-DSA (stateless). WOTS+ is the leaf-level workhorse of the whole hash-based family.
Related
- XMSS: WOTS+ composed into a stateful many-time scheme
- SLH-DSA (SPHINCS+): the stateless composition
- Post-Quantum Solutions for Blockchains and Cryptocurrencies