{
  "id": "2026/2317",
  "url": "https://opencryptology.org/2026/2317",
  "original_url": "https://eprint.iacr.org/2026/2317",
  "title": "SPIN: Fast Codes for Correlation Generation and Polynomial Commitments",
  "authors": [
    "Stanislav Peceny",
    "Rahul Rachuri",
    "Srinivasan Raghuraman",
    "Peter Rindal"
  ],
  "affiliations": null,
  "abstract": "Binary codes used in correlation generation and proof systems need strong distance, fast ordinary and transposed encoding, and regular memory access. We introduce Single-Permutation INterleaved (SPIN) codes, combining a blockwise outer encoder, one global interleaver, and a recursive inner.\n\nOur main result is a Structured SPIN family with rate $1/2$ and $O(N)$ bit operations for ordinary and transposed encoding at its native output lengths $N$. With probability $1-o(1)$ over the random choice of the code, its minimum distance exceeds $0.11N$. The proof combines outer spectrum bounds with an analysis of structured support spreading and recursive state mixing. We formally verify these distance and rate  guarantees in Lean.\n\nFor finite lengths, a BCH-derived outer constituent and a fixed recursive inner give rate $1/2$ and relative distance greater than $0.10$, with setup-failure probability below $2^{-40}$. We certify this bound at message lengths $2^{16}$, $2^{18}$, $2^{20}$, $2^{22}$, and $2^{24}$ using rigorous spectrum inequalities, without assuming the constituent's exact weight spectrum.\n\nFor pseudorandom correlation generators (PCGs), SPIN's transposed encoder computes $2^{20}$ $128$-bit correlation blocks in about $9.3$\\,ms on one Ryzen 9 7950X thread after precomputation. This is approximately $3.4\\times$ faster than the original rate-$1/2$ BAA codes of Kolesnikov et al.\\ (CRYPTO 2026). Ordinary encoding has similar cost.\nWith a precomputed code, libOTe's regular-noise Silent OT sender achieves $89.0$ million hashed OTs per second on one core, in batches of $2^{18}$. Timings exclude initial setup, base-correlation generation, and network transport.\n\nWe also use SPIN in a Brakedown-style polynomial commitment scheme and integrate it into Flock. Commitment and one opening of $512$\\,MiB take $509$\\,ms on one core, with a 100-bit interactive fixed-matrix testing target; this excludes code-setup failure, extraction, and Fiat-shamir reductions. Within an optimized Flock implementation, replacing Ligerito with SPIN--Brakedown improves prover throughput by $1.63$--$2.29\\times$ at the measured workloads, with larger proofs and slower verification. The comparison gives both backends the applicable shared implementation optimizations.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“SPIN: Fast Codes for Correlation Generation and Polynomial Commitments” by Stanislav Peceny, Rahul Rachuri, Srinivasan Raghuraman, Peter Rindal, Cryptology ePrint Archive, Paper 2026/2317, https://eprint.iacr.org/2026/2317. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-10-02T23:06:44Z",
    "updated": "2026-10-02T23:06:44Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/2317.pdf",
    "sha256": "c8fd6876ab735da9e7dd7928874e8d15ec4db9b8c8ac394186e96ca2e363a004",
    "size": 893206,
    "source": "upload",
    "source_date": "2026-11-12T02:21:24.557Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/2317/versions/20261112T022124Z.pdf",
      "captured_at": "2026-11-12T02:21:24.557Z",
      "label": "copy captured 2026-11-12",
      "source": "upload",
      "source_url": null,
      "size": 893206,
      "sha256": "c8fd6876ab735da9e7dd7928874e8d15ec4db9b8c8ac394186e96ca2e363a004",
      "is_default_pdf": true
    }
  ],
  "other_sources": [],
  "bibtex": "@misc{cryptoeprint:2026/2317,\n      author = {Stanislav Peceny and Rahul Rachuri and Srinivasan Raghuraman and Peter Rindal},\n      title = {SPIN: Fast Codes for Correlation Generation and Polynomial Commitments},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2317},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/2317}\n}"
}
