Everything, Everywhere
Verified Specification | Standardized Formulas | Instant Precision
Secure & Private (Zero Data Retention) Free Access • No Sign-Up

Stateful Hash-Based Signatures (LMS & XMSS) Studio

Simulate RFC 8554 LMS and RFC 8391 XMSS: track monotonic leaf index exhaustion, generate WOTS+ hash chains, trace Merkle tree authentication paths, and export production C firmware signing code.

Leaf 0
Current Monotonic Index (q)
8 signatures
Remaining Key Capacity
1,128 bytes
LMS Signature Wire Size
67 chains
WOTS+ Hash Chains (w=4)
VALID
Merkle Root Verification
Target: "UEFI_SECURE_BOOT_BL31.BIN (v2.4.1)"

LMS Merkle Tree Structure & Authentication Siblings

Green = Active Signing Leaf | Amber = Auth Path Siblings | Red = Burned/Used Leaves
Root Public Key (K)
Node(1, 0)
Node(1, 1)
Node(2, 0)
Node(2, 1)
Node(2, 2)
Node(2, 3)

LMS Signature Byte Serialization (RFC 8554 §5)

u32 q (Monotonic Leaf Index): 0x00000000
WOTS+ Signature: 67 hash iterations (2,144 bytes)
u32 type: LMS_SHA256_M32_H3 (0x00000005)
Auth Path (h=3 siblings): Sibling(2,1), Node(1,1)
[Init] LMS tree generated with height h=3 (8 total WOTS+ one-time keys). Root public key calculated.

Production LMS Implementation


    
Sponsored Utility
While You're Here
Sponsored Recommendations
Advertisement