{
  "id": "cast5-128",
  "name": "CAST5-128",
  "family_id": "cast5",
  "description": "CAST-128 with a 64-bit block, 128-bit key and 16 Feistel rounds (RFC 2144). Deprecated because the 64-bit block allows practical birthday attacks (Sweet32) after about 2^32 blocks; the best indexed shortcut attacks cover 8 rounds (MITM / dissection), 9 rounds (weak keys) and 6 rounds (linear).",
  "status": "deprecated",
  "parameters": {
    "block_bits": 64,
    "key_bits": 128,
    "rounds": 16,
    "structure": "Feistel (three round-function types)"
  },
  "references": [
    {
      "title": "The CAST-128 Encryption Algorithm (RFC 2144)",
      "url": "https://datatracker.ietf.org/doc/html/rfc2144",
      "authors": [
        "Carlisle Adams"
      ],
      "quote_location": "RFC 2144 (1997)"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "cast5-128-bhargavan-leurent-2016-sweet32",
      "target_id": "cast5-128",
      "title": "Sweet32 birthday collision attack on 64-bit CBC sessions (2^32 blocks)",
      "goal": "plaintext-recovery",
      "attack_family": "birthday-collision",
      "setting": "Birthday-bound collision attack on long-lived CBC sessions using a 64-bit block cipher, recovering plaintext after about 2^32 blocks (~32 GB)",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2016-10-24",
      "authors": [
        "Karthikeyan Bhargavan",
        "Gaëtan Leurent"
      ],
      "references": [
        {
          "title": "On the Practical (In-)Security of 64-bit Block Ciphers: Collision Attacks on HTTP over TLS and OpenVPN",
          "url": "https://doi.org/10.1145/2976749.2978423",
          "authors": [
            "Karthikeyan Bhargavan",
            "Gaëtan Leurent"
          ],
          "doi": "10.1145/2976749.2978423",
          "quote_location": "ACM CCS 2016"
        }
      ],
      "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": 16,
        "total_rounds": 16,
        "log2_data": 32,
        "log2_time": 32,
        "time_unit": "64-bit CBC block birthday collisions (~32 GB)"
      },
      "notes": "A generic mode-of-operation attack on any 64-bit block cipher, not a weakness of the CAST-128 round function; it is the reason for the deprecated status. Date approximates the ACM CCS 2016 conference."
    },
    {
      "id": "cast5-128-dinur-2026-8r-mitm-dissection",
      "target_id": "cast5-128",
      "title": "8-round MITM and dissection attack on CAST-128 with 2^64 memory",
      "goal": "key-recovery",
      "attack_family": "meet-in-the-middle",
      "setting": "Meet-in-the-middle and dissection key recovery on 8 of 16 rounds of CAST-128, reducing the memory of the Isobe–Shibutani (ASIACRYPT 2013) attack from 2^111 to 2^64",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2026-01-01",
      "authors": [
        "Itai Dinur",
        "Orr Dunkelman",
        "Nathan Keller",
        "Ross",
        "Adi Shamir"
      ],
      "references": [
        {
          "title": "Memory-efficient meet-in-the-middle and dissection attacks on reduced-round CAST-128",
          "url": "https://doi.org/10.1007/s00145-026-09571-y",
          "authors": [
            "Itai Dinur",
            "Orr Dunkelman",
            "Nathan Keller",
            "Ross",
            "Adi Shamir"
          ],
          "doi": "10.1007/s00145-026-09571-y",
          "quote_location": "Journal of Cryptology 2026"
        },
        {
          "title": "The CAST-128 Encryption Algorithm (RFC 2144)",
          "url": "https://datatracker.ietf.org/doc/html/rfc2144",
          "authors": [
            "Carlisle Adams"
          ],
          "quote_location": "RFC 2144 (1997)"
        }
      ],
      "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": 16,
        "log2_time": 128,
        "log2_memory": 64,
        "time_unit": "CAST-128 encryptions (conservative exhaustive-search upper bound)"
      },
      "notes": "The contribution is the memory reduction from 2^111 to 2^64; the time figure was not transcribed, so log2_time: 128 is a conservative exhaustive-search upper bound, not the paper's figure. The reference title is descriptive and Ross's given name was not transcribed. Date approximates the 2026 journal publication (day and month not transcribed)."
    },
    {
      "id": "cast5-128-wang-2016-9r-weak-key-differential",
      "target_id": "cast5-128",
      "title": "9-round weak-key differential attack on CAST-128 (2^73)",
      "goal": "key-recovery",
      "attack_family": "weak-key-differential",
      "setting": "Differential key recovery on 9 of 16 rounds of CAST-128 for a weak-key class, using 2^58 chosen plaintexts",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2016-11-04",
      "authors": [
        "Wang",
        "Cui",
        "Wang"
      ],
      "references": [
        {
          "title": "Weak-key differential cryptanalysis of 9-round CAST-128",
          "url": "https://doi.org/10.1007/978-3-319-54705-3_2",
          "authors": [
            "Wang",
            "Cui",
            "Wang"
          ],
          "doi": "10.1007/978-3-319-54705-3_2",
          "quote_location": "Inscrypt 2016"
        },
        {
          "title": "The CAST-128 Encryption Algorithm (RFC 2144)",
          "url": "https://datatracker.ietf.org/doc/html/rfc2144",
          "authors": [
            "Carlisle Adams"
          ],
          "quote_location": "RFC 2144 (1997)"
        }
      ],
      "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": 9,
        "total_rounds": 16,
        "log2_data": 58,
        "log2_time": 73,
        "time_unit": "CAST-128 encryptions"
      },
      "notes": "Applies to a weak-key class only. Author given names and the exact paper title were not transcribed; the reference title is descriptive. Date approximates the Inscrypt 2016 conference."
    },
    {
      "id": "cast5-128-wang-2008-6r-linear",
      "target_id": "cast5-128",
      "title": "6-round linear attack on CAST-128 (2^88.51)",
      "goal": "key-recovery",
      "attack_family": "linear",
      "setting": "Linear key recovery on 6 of 16 rounds of CAST-128 using 2^53.96 known plaintexts",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2008-08-14",
      "authors": [
        "Wang",
        "Wang",
        "Hu"
      ],
      "references": [
        {
          "title": "Linear cryptanalysis of 6-round CAST-128",
          "url": "https://doi.org/10.1007/978-3-642-04159-4_28",
          "authors": [
            "Wang",
            "Wang",
            "Hu"
          ],
          "doi": "10.1007/978-3-642-04159-4_28",
          "quote_location": "SAC 2008"
        },
        {
          "title": "The CAST-128 Encryption Algorithm (RFC 2144)",
          "url": "https://datatracker.ietf.org/doc/html/rfc2144",
          "authors": [
            "Carlisle Adams"
          ],
          "quote_location": "RFC 2144 (1997)"
        }
      ],
      "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": 6,
        "total_rounds": 16,
        "log2_data": 53.96,
        "log2_time": 88.51,
        "time_unit": "CAST-128 encryptions"
      },
      "notes": "Author given names and the exact paper title were not transcribed; the reference title is descriptive. Date approximates the SAC 2008 conference."
    },
    {
      "id": "cast5-128-paper-e4062c3f709f13963b9993d2",
      "target_id": "cast5-128",
      "title": "Multidimensional Linear Cryptanalysis of Feistel Ciphers",
      "goal": "distinguisher",
      "attack_family": "multidimensional-linear",
      "setting": "Multidimensional linear cryptanalysis of CAST-128 using key-independent linear trails and a likelihood-ratio test.",
      "claim_kind": "estimate",
      "track": "mathematical",
      "ai_assisted": false,
      "date": "2023-01-01",
      "authors": [
        "Betül Aşkın Özdemir",
        "Tim Beyne",
        "Vincent Rijmen"
      ],
      "references": [
        {
          "title": "Multidimensional Linear Cryptanalysis of Feistel Ciphers",
          "url": "https://doi.org/10.46586/tosc.v2023.i4.1-27",
          "authors": [
            "Betül Aşkın Özdemir",
            "Tim Beyne",
            "Vincent Rijmen"
          ],
          "doi": "10.46586/tosc.v2023.i4.1-27"
        }
      ],
      "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": 1,
        "total_rounds": 16,
        "log2_time": 0,
        "time_unit": "abstract-reported (unverified)"
      },
      "notes": "Extracted from title and abstract only; year-level date approximation. Multidimensional linear cryptanalysis of CAST-128 using key-independent linear trails and a likelihood-ratio test."
    },
    {
      "id": "cast5-128-paper-76b75ebf1f3a8bb20a212ab3",
      "target_id": "cast5-128",
      "title": "Improved Quantum Linear Attacks and Application to CAST",
      "goal": "key_recovery",
      "attack_family": "linear",
      "setting": "Quantum linear key-recovery attack combining a quantum correlation state with Simon's algorithm or linear distinguishers and Amplitude Amplification on CAST-128.",
      "claim_kind": "estimate",
      "track": "mathematical",
      "ai_assisted": false,
      "date": "2025-01-01",
      "authors": [
        "Kaveh Bashiri",
        "Xavier Bonnetain",
        "Akinori Hosoyamada",
        "Nathalie Lang",
        "André Schrottenloher"
      ],
      "references": [
        {
          "title": "Improved Quantum Linear Attacks and Application to CAST",
          "url": "https://doi.org/10.46586/tosc.v2025.i2.124-165",
          "authors": [
            "Kaveh Bashiri",
            "Xavier Bonnetain",
            "Akinori Hosoyamada",
            "Nathalie Lang",
            "André Schrottenloher"
          ],
          "doi": "10.46586/tosc.v2025.i2.124-165"
        }
      ],
      "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": 1,
        "total_rounds": 16,
        "log2_time": 0,
        "time_unit": "abstract-reported (unverified)"
      },
      "notes": "Extracted from title and abstract only; year-level date approximation. Quantum linear key-recovery attack combining a quantum correlation state with Simon's algorithm or linear distinguishers and Amplitude Amplification on CAST-128."
    }
  ],
  "frontiers": [
    {
      "id": "cast5-128-beyond-9-rounds",
      "target_id": "cast5-128",
      "title": "Single-key shortcut attacks on more than 9 rounds of CAST-128",
      "description": "The best indexed shortcut attacks reach 8 rounds (MITM / dissection) and 9 rounds (weak keys only) of 16; whether any attack faster than exhaustive search reaches 10 or more rounds of CAST-128 for all keys remains open.",
      "references": [
        {
          "title": "Memory-efficient meet-in-the-middle and dissection attacks on reduced-round CAST-128",
          "url": "https://doi.org/10.1007/s00145-026-09571-y",
          "authors": [
            "Itai Dinur",
            "Orr Dunkelman",
            "Nathan Keller",
            "Ross",
            "Adi Shamir"
          ],
          "doi": "10.1007/s00145-026-09571-y",
          "quote_location": "Journal of Cryptology 2026"
        },
        {
          "title": "Weak-key differential cryptanalysis of 9-round CAST-128",
          "url": "https://doi.org/10.1007/978-3-319-54705-3_2",
          "authors": [
            "Wang",
            "Cui",
            "Wang"
          ],
          "doi": "10.1007/978-3-319-54705-3_2",
          "quote_location": "Inscrypt 2016"
        }
      ]
    }
  ],
  "dead_ends": []
}
