{
  "id": "salsa20-20",
  "name": "Salsa20/20",
  "family_id": "salsa20",
  "description": "Salsa20/20 concrete 256-bit parameter set (64-bit nonce, 64-bit block counter, 20 rounds). Reduced-round key-recovery attacks reach 8 rounds; 12 rounds of full Salsa20/20 remain untouched.",
  "status": "intact",
  "parameters": {
    "key_bits": 256,
    "nonce_bits": 64,
    "counter_bits": 64,
    "rounds": 20
  },
  "references": [
    {
      "title": "Salsa20 specification",
      "url": "https://cr.yp.to/snuffle/spec.pdf",
      "authors": [
        "Daniel J. Bernstein"
      ]
    },
    {
      "title": "The Salsa20 Family of Stream Ciphers",
      "url": "https://doi.org/10.1007/978-3-540-68351-3_8",
      "authors": [
        "Daniel J. Bernstein"
      ],
      "doi": "10.1007/978-3-540-68351-3_8",
      "quote_location": "New Stream Cipher Designs: The eSTREAM Finalists, LNCS 4986, pp. 84-97"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "salsa20-20-aumasson-etal-2008-8r-difflin",
      "target_id": "salsa20-20",
      "title": "Differential-linear PNB key-recovery attack on 8-round Salsa20",
      "goal": "key_recovery",
      "attack_family": "differential_linear",
      "setting": "Chosen-IV single-key differential-linear and Probabilistic Neutral Bits (PNB) key recovery on 8 of 20 rounds (256-bit key)",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2008-02-10",
      "authors": [
        "Jean-Philippe Aumasson",
        "Simon Fischer",
        "Shahram Khazaei",
        "Willi Meier",
        "Christian Rechberger"
      ],
      "references": [
        {
          "title": "New Features of Latin Dances: Analysis of Salsa, ChaCha, and Rumba",
          "url": "https://eprint.iacr.org/2007/472",
          "authors": [
            "Jean-Philippe Aumasson",
            "Simon Fischer",
            "Shahram Khazaei",
            "Willi Meier",
            "Christian Rechberger"
          ],
          "eprint_id": "2007/472",
          "doi": "10.1007/978-3-540-71039-4_30",
          "quote_location": "FSE 2008, LNCS 5086, pp. 470-488 / ePrint 2007/472 (Salsa20/8 time 2^251, data 2^31)"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "symmetric_rounds",
        "rounds_attacked": 8,
        "total_rounds": 20,
        "log2_data": 31,
        "log2_time": 251,
        "time_unit": "8-round Salsa20 operations"
      },
      "notes": "First key-recovery attack on 8-round 256-bit Salsa20, introducing Probabilistic Neutral Bits (PNBs); memory cost omitted pending table-level verification. 12 rounds of full Salsa20/20 remain untouched."
    },
    {
      "id": "salsa20-20-shi-etal-2012-8r-difflin",
      "target_id": "salsa20-20",
      "title": "Improved PNV key-recovery attack on 8-round Salsa20",
      "goal": "key_recovery",
      "attack_family": "differential_linear",
      "setting": "Chosen-IV single-key column/row chaining distinguisher and PNV key recovery on 8 of 20 rounds (256-bit key)",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2012-11-28",
      "authors": [
        "Zhenqing Shi",
        "Bin Zhang",
        "Dengguo Feng",
        "Wenling Wu"
      ],
      "references": [
        {
          "title": "Improved Key Recovery Attacks on Reduced-Round Salsa20 and ChaCha",
          "url": "https://doi.org/10.1007/978-3-642-37682-5_24",
          "authors": [
            "Zhenqing Shi",
            "Bin Zhang",
            "Dengguo Feng",
            "Wenling Wu"
          ],
          "doi": "10.1007/978-3-642-37682-5_24",
          "quote_location": "ICISC 2012, LNCS 7839 (8-round Salsa20-256 time 2^250)"
        }
      ],
      "supersedes": [
        "salsa20-20-aumasson-etal-2008-8r-difflin"
      ],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "symmetric_rounds",
        "rounds_attacked": 8,
        "total_rounds": 20,
        "log2_time": 250,
        "time_unit": "8-round Salsa20 operations"
      },
      "notes": "Reduces 8-round 256-bit Salsa20 key-recovery time from 2^251 to 2^250 via Probabilistic Neutral Vectors (PNVs); data and memory exponents omitted pending table-level verification. Later multi-bit differential-linear work (e.g., Choudhuri and Maitra, ePrint 2016/1034) further refined reduced-round Salsa20 cryptanalysis."
    }
  ],
  "frontiers": [
    {
      "id": "salsa20-20-beyond-8-rounds",
      "target_id": "salsa20-20",
      "title": "Bridging 8-round PNB key recovery toward Salsa20/12 and full Salsa20/20",
      "description": "Differential-linear key-recovery attacks on 256-bit Salsa20 reach 8 of 20 rounds (Aumasson et al. FSE 2008 at 2^251 time and Shi et al. ICISC 2012 at 2^250 time), leaving 4 rounds of margin for the 12-round eSTREAM portfolio variant Salsa20/12 and 12 rounds for full Salsa20/20.",
      "references": [
        {
          "title": "New Features of Latin Dances: Analysis of Salsa, ChaCha, and Rumba",
          "url": "https://eprint.iacr.org/2007/472",
          "authors": [
            "Jean-Philippe Aumasson",
            "Simon Fischer",
            "Shahram Khazaei",
            "Willi Meier",
            "Christian Rechberger"
          ],
          "eprint_id": "2007/472",
          "doi": "10.1007/978-3-540-71039-4_30",
          "quote_location": "FSE 2008, LNCS 5086, pp. 470-488"
        },
        {
          "title": "Significantly Improved Multi-bit Differentials for Reduced Round Salsa and ChaCha",
          "url": "https://eprint.iacr.org/2016/1034",
          "authors": [
            "Arka Rai Choudhuri",
            "Subhamoy Maitra"
          ],
          "eprint_id": "2016/1034",
          "quote_location": "IACR ToSC 2016(2) / ePrint 2016/1034"
        }
      ]
    }
  ],
  "dead_ends": []
}
