{
  "id": "chacha8",
  "name": "ChaCha8",
  "family_id": "chacha",
  "description": "ChaCha8 stream cipher: 8-round variant of the ARX ChaCha construction from Bernstein (2008), with a 256-bit key, 96-bit nonce and 32-bit counter. Differential-linear distinguishers reach about 7.25 to 7.5 of its 8 rounds (Dey, Garai, Sarkar and Sharma, EUROCRYPT 2022; Coutinho and Souza Neto), so the margin is thin; no published key recovery on the full 8-round cipher is recorded.",
  "status": "intact",
  "parameters": {
    "key_bits": 256,
    "nonce_bits": 96,
    "counter_bits": 32,
    "rounds": 8
  },
  "references": [
    {
      "title": "ChaCha, a variant of Salsa20",
      "url": "https://cr.yp.to/chacha/chacha-20080128.pdf",
      "authors": [
        "Daniel J. Bernstein"
      ],
      "quote_location": "Specification (2008)"
    }
  ],
  "kats": [],
  "attacks": [],
  "frontiers": [
    {
      "id": "chacha8-differential-linear-margin",
      "target_id": "chacha8",
      "title": "Differential-linear margin of ChaCha8 against the round count",
      "description": "The reduced-round differential-linear frontier for ChaCha sits near 7 to 7.5 rounds; the gap to the full 8-round cipher is the tracked margin. No key recovery on the full cipher is recorded.",
      "references": [
        {
          "title": "ChaCha, a variant of Salsa20",
          "url": "https://cr.yp.to/chacha/chacha-20080128.pdf",
          "authors": [
            "Daniel J. Bernstein"
          ],
          "quote_location": "Specification (2008)"
        }
      ]
    }
  ],
  "dead_ends": []
}
