Papers
Topics
Authors
Recent
Search
2000 character limit reached

SPANSE: One-Time Code-Based Signature

Updated 18 June 2026
  • SPANSE is a one-time digital signature protocol leveraging dense QC-LDGM codes and the NP-hard syndrome decoding problem for post-quantum security.
  • It achieves efficient signing and verification by using linear algebra routines along with quasi-cyclic structures and dense random masking to prevent key leakage.
  • Key features include moderate public key sizes, fast operations, and strong resistance against both statistical and structural cryptanalytic attacks.

The SPANSE scheme is a one-time code-based digital signature protocol designed to achieve efficient signing and verification with moderate public key size and enhanced resistance against key-leakage attacks. SPANSE distinguishes itself from earlier code-based signatures by employing dense, zero-free signatures and leveraging the NP-hard syndrome decoding problem for large-weight vectors, aligning its security with recent trends in post-quantum cryptography. The scheme exploits the structure of quasi-cyclic low-density generator matrix (QC-LDGM) codes and introduces dense random masking to eliminate structural leakage, targeting both practical efficiency and robust cryptanalytic resistance (Baldi et al., 2022).

1. Design Objectives and Security Foundations

SPANSE was designed with several principal goals: enabling fast one-time signature generation and verification using linear algebra routines; optimizing public key size to a few megabytes through QC representations; and eliminating earlier vulnerabilities posed by signature sparsity, specifically information leakage exploitable by support-decomposition or key-recovery attacks.

Security is founded on the hardness of the syndrome decoding problem (SDP) over Fq\mathbb F_q for vectors with weight close to the codeword length, a problem known to be NP-complete for any target weight. A crucial aspect is that all signatures are densely populated—no zero entries—preventing statistical attacks that exploit sparse output. Additional safeguards are achieved by ensuring that no helpful algebraic structure is accessible in the public key HH', with the underlying secret QC-LDGM code and a dense masking transformation SS obfuscating the system. One-time usage per key-pair is mandatory, as repeated signature publication can lead to statistical distinguishability without further countermeasures (Baldi et al., 2022).

2. Scheme Definition: Structure and Algorithms

The SPANSE construction relies on:

  • Field: A prime field of size qq, typically q27q\approx 2^7 (e.g., q=127q=127).
  • QC-LDGM code: Length n=pn0n=p\,n_0, dimension k=pk0k=p\,k_0, redundancy r=nkr=n-k, structured via circulant p×pp\times p blocks.
  • Secret matrices: Sparse generator matrix HH'0, systematic parity-check HH'1, random permutation HH'2, and a dense QC matrix HH'3 with specifically chosen row/column distribution.
  • Hash and syndrome map: Cryptographic hash HH'4 and randomness-dependent mapping HH'5 to binary vectors of prescribed weight.

The workflow consists of three main stages:

2.1 Key Generation

Input parameters are code structure (HH'6, HH'7, HH'8, HH'9), LDGM row weight SS0, and base field SS1. The key steps are:

  1. Generate a random QC-LDGM generator SS2 with prescribed sparse row weight.
  2. Compute a systematic parity-check matrix SS3.
  3. Sample a random QC permutation SS4.
  4. Sample a dense QC matrix SS5 with defined distribution.
  5. Derive the public key SS6.

The secret key comprises SS7; the public key is SS8.

2.2 Signature Generation

Given a message SS9 and the secret key:

  1. Compute qq0.
  2. Use qq1 to obtain qq2, a binary vector of prescribed weight qq3.
  3. Map qq4 with the secret permutation (qq5).
  4. Form an error vector qq6 so qq7.
  5. Repeat: sample random weight-qq8 codeword qq9, compute q27q\approx 2^70. Repeat until all entries of q27q\approx 2^71 are nonzero.
  6. Output q27q\approx 2^72.

2.3 Signature Verification

Given q27q\approx 2^73, message q27q\approx 2^74, and signature q27q\approx 2^75:

  1. Reject if any entry of q27q\approx 2^76 is zero.
  2. Compute q27q\approx 2^77 and q27q\approx 2^78; reject if q27q\approx 2^79.
  3. Compute syndrome q=127q=1270; accept if q=127q=1271, else reject.

3. Hardness Assumptions and Security Reductions

The core hard problem is the large-weight Syndrome Decoding Problem (SDPq=127q=1272), in which q=127q=1273 and a target weight q=127q=1274 (here, typically q=127q=1275 or q=127q=1276) are given, and the task is to find an q=127q=1277 of at least this weight such that q=127q=1278. This version remains NP-complete.

The best known generic attack is the PGE+Subset-Sum solver (generalization of Debris-Alazard et al.), with time complexity q=127q=1279, for n=pn0n=p\,n_00 in typical settings (n=pn0n=p\,n_01, n=pn0n=p\,n_02, n=pn0n=p\,n_03). "Decoding One Out of Many" (DOOM) techniques yield a further speed-up factor of n=pn0n=p\,n_04, impacting the effective exponent. Other attacks such as Information Set Decoding (ISD) are countered by the masked code design; their complexity is approximately n=pn0n=p\,n_05 operations on the intended parameters (Baldi et al., 2022).

Asymptotically, the problem’s resistance scales linearly in n=pn0n=p\,n_06 for fixed code rate and field size.

4. Concrete Parameters and Performance Metrics

A parameterization for 128-bit classical security includes:

  • n=pn0n=p\,n_07
  • Circulant size n=pn0n=p\,n_08
  • n=pn0n=p\,n_09, k=pk0k=p\,k_00 (k=pk0k=p\,k_01), k=pk0k=p\,k_02
  • LDGM generator row weight k=pk0k=p\,k_03
  • Syndrome weight k=pk0k=p\,k_04
  • Codeword sampling: sum k=pk0k=p\,k_05 rows of k=pk0k=p\,k_06 for target codeword weight k=pk0k=p\,k_07
  • Masking distribution for k=pk0k=p\,k_08: e.g., uniform binary k=pk0k=p\,k_09 leads to negligible rejection rate (r=nkr=n-k0)

Performance characteristics:

Parameter Value/Estimate Notes
Public key size ≈ 2,437 kB 120 × 120 circulant polynomials, r=nkr=n-k1
Signature length 21 kB r=nkr=n-k2 bits
KeyGen cost r=nkr=n-k3 ops Performed offline
Signing/verif. r=nkr=n-k4 ops < 1 ms on modern hardware

This balance of efficiency and compactness is made possible by the dense signature regime and quasi-cyclic structures (Baldi et al., 2022).

5. Security Analysis and Cryptanalytic Position

The scheme’s main line of defense is the standard large-weight SDP for random-looking codes as obfuscated by dense r=nkr=n-k5 and r=nkr=n-k6. No support-leakage or structural attacks are facilitated, given that every signature reveals no sparsity pattern. The primary cryptanalytic avenues are:

  • ISD and generic decoding: estimated workfactor r=nkr=n-k7.
  • PGE+SS for large-weight decoding: r=nkr=n-k8 after accounting for DOOM speedup.
  • Structural recovery: the design of r=nkr=n-k9 and p×pp\times p0 precludes attacks leveraging the sparseness or algebraic redundancy of the underlying LDGM code.
  • Key reuse: signatures produced per key are one-time and rejection-sampled for uniformity, but keys must not be reused across multiple messages, as this could enable statistical distinguishers.

A plausible implication is that with the correct rejection-sampling and strict one-time usage policy, the system’s resistance to state-of-the-art algebraic and statistical attacks is commensurate with its targeted classical security margin.

6. Comparative Context and Relation to Previous Schemes

Earlier code-based signature schemes relying on QC-LDGM structures and sparse signatures (e.g., Baldi–Chiaraluce–Santini, 2013) were vulnerable to decomposition and key-recovery due to observable sparsity. Goppa code-based hash-and-sign approaches such as CFS/KKS face significant limitations in key size (>10 MB) and slow signature generation (many syndrome decoding attempts). WAVE, a large-weight scheme using special p×pp\times p1 codes over p×pp\times p2, achieves similar key size but slower cubic signing cost.

SPANSE delivers multiple improvements:

  • Public key sizes approach 2.5 MB with a compact QC structure over a large prime field.
  • Both signature generation and verification scale quadratically, without the need for decoding loops.
  • Dense signature outputs avoid any sparsity-exploitable leakage.
  • The security basis is the standard large-weight SDP, benefiting from straightforward security reductions for random codes.

This positions SPANSE as a competitively efficient and secure one-time signature primitive within the landscape of post-quantum code-based cryptography (Baldi et al., 2022).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to SPANSE Scheme.