{
  "id": "chacha12",
  "name": "ChaCha12",
  "family_id": "chacha",
  "description": "ChaCha12 stream cipher: 12-round variant of the ARX ChaCha construction from Bernstein (2008), with a 256-bit key, 96-bit nonce and 32-bit counter. Best published reduced-round differential-linear results reach about 7 to 7.5 rounds; the catalog records no published attack on the full 12-round cipher.",
  "status": "intact",
  "parameters": {
    "key_bits": 256,
    "nonce_bits": 96,
    "counter_bits": 32,
    "rounds": 12
  },
  "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": "chacha12-differential-linear-margin",
      "target_id": "chacha12",
      "title": "Differential-linear margin of ChaCha12 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 12-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": []
}
