{
  "id": "shacal2-256",
  "name": "SHACAL-2 (512-bit key)",
  "family_id": "shacal2",
  "description": "SHACAL-2 with a 256-bit block, 512-bit key and 64 rounds of the SHA-256 compression function. Intact: 20 rounds of margin against the best related-key attack (44 rounds, 2^233 data, 2^497.2 time) and 22 against the best single-key attack (42 rounds).",
  "status": "intact",
  "parameters": {
    "block_bits": 256,
    "key_bits": 512,
    "rounds": 64,
    "structure": "SHA-256 compression function used as a block cipher",
    "standard": "NESSIE portfolio (2003)"
  },
  "references": [
    {
      "title": "SHACAL (NESSIE submission; SHACAL-2 selected for the NESSIE portfolio)",
      "url": "https://www.cosic.esat.kuleuven.be/nessie/",
      "authors": [
        "Helena Handschuh",
        "David Naccache"
      ],
      "quote_location": "NESSIE project (2002/2003): SHACAL-2, 256-bit block, up to 512-bit key, 64 rounds of the SHA-256 compression function"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "shacal2-256-lu-kim-2008-44r-rk-rectangle",
      "target_id": "shacal2-256",
      "title": "44-round related-key rectangle attack on SHACAL-2",
      "goal": "key-recovery",
      "attack_family": "related-key-rectangle",
      "setting": "Related-key rectangle key recovery on 44 of 64 SHACAL-2 rounds with 2^233 related-key chosen plaintexts and 2^497.2 time",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2008-09-01",
      "authors": [
        "Jiqiang Lu",
        "Jongsung Kim"
      ],
      "references": [
        {
          "title": "Attacking 44 Rounds of the SHACAL-2 Block Cipher Using Related-Key Rectangle Cryptanalysis",
          "url": "https://doi.org/10.1093/ietfec/e91-a.9.2588",
          "authors": [
            "Jiqiang Lu",
            "Jongsung Kim"
          ],
          "doi": "10.1093/ietfec/e91-a.9.2588",
          "quote_location": "IEICE Transactions on Fundamentals E91-A(9), 2008"
        },
        {
          "title": "SHACAL (NESSIE submission; SHACAL-2 selected for the NESSIE portfolio)",
          "url": "https://www.cosic.esat.kuleuven.be/nessie/",
          "authors": [
            "Helena Handschuh",
            "David Naccache"
          ],
          "quote_location": "NESSIE project (2002/2003): SHACAL-2, 256-bit block, up to 512-bit key, 64 rounds of the SHA-256 compression function"
        }
      ],
      "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": 44,
        "total_rounds": 64,
        "log2_data": 233,
        "log2_time": 497.2,
        "time_unit": "SHACAL-2 encryptions"
      },
      "notes": "Best related-key attack indexed; supersedes the 42-round related-key rectangle attack of Lu–Kim–Keller–Dunkelman (ISC 2006, 2^488.37 time), which is not separately indexed. Memory was not transcribed. Date approximates the IEICE September 2008 issue."
    },
    {
      "id": "shacal2-256-isobe-shibutani-2014-42r-asr",
      "target_id": "shacal2-256",
      "title": "42-round single-key all-subkeys recovery (splice-and-cut MITM) attack on SHACAL-2",
      "goal": "key-recovery",
      "attack_family": "all-subkeys-recovery-mitm",
      "setting": "Single-key all-subkeys recovery on 42 of 64 SHACAL-2 rounds using a splice-and-cut meet-in-the-middle approach",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2014-03-03",
      "authors": [
        "Takanori Isobe",
        "Kyoji Shibutani"
      ],
      "references": [
        {
          "title": "Improved All-Subkeys Recovery Attacks on FOX, KATAN and SHACAL-2 Block Ciphers",
          "url": "https://doi.org/10.1007/978-3-662-46706-0_6",
          "authors": [
            "Takanori Isobe",
            "Kyoji Shibutani"
          ],
          "eprint_id": "2015/557",
          "doi": "10.1007/978-3-662-46706-0_6",
          "quote_location": "FSE 2014 / ePrint 2015/557"
        },
        {
          "title": "SHACAL (NESSIE submission; SHACAL-2 selected for the NESSIE portfolio)",
          "url": "https://www.cosic.esat.kuleuven.be/nessie/",
          "authors": [
            "Helena Handschuh",
            "David Naccache"
          ],
          "quote_location": "NESSIE project (2002/2003): SHACAL-2, 256-bit block, up to 512-bit key, 64 rounds of the SHA-256 compression function"
        }
      ],
      "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": 42,
        "total_rounds": 64,
        "log2_time": 512,
        "time_unit": "SHACAL-2 encryptions (upper bound only: below exhaustive search of the 512-bit key; exact exponent not transcribed)"
      },
      "notes": "Best single-key attack indexed. The exact time, data and memory were not transcribed; log2_time: 512 is the exhaustive-search upper bound for the 512-bit key, not the paper figure. Date approximates FSE 2014."
    }
  ],
  "frontiers": [
    {
      "id": "shacal2-256-beyond-44-rounds",
      "target_id": "shacal2-256",
      "title": "Extending SHACAL-2 attacks beyond 44 rounds",
      "description": "The best attacks stop at 44 of 64 rounds (related-key) and 42 rounds (single-key), both close to the generic 2^512 bound. Whether automated differential / MITM tooling developed for SHA-256 collision attacks can push key recovery on SHACAL-2 meaningfully further remains open.",
      "references": [
        {
          "title": "Attacking 44 Rounds of the SHACAL-2 Block Cipher Using Related-Key Rectangle Cryptanalysis",
          "url": "https://doi.org/10.1093/ietfec/e91-a.9.2588",
          "authors": [
            "Jiqiang Lu",
            "Jongsung Kim"
          ],
          "doi": "10.1093/ietfec/e91-a.9.2588",
          "quote_location": "IEICE Transactions on Fundamentals E91-A(9), 2008"
        },
        {
          "title": "Improved All-Subkeys Recovery Attacks on FOX, KATAN and SHACAL-2 Block Ciphers",
          "url": "https://doi.org/10.1007/978-3-662-46706-0_6",
          "authors": [
            "Takanori Isobe",
            "Kyoji Shibutani"
          ],
          "eprint_id": "2015/557",
          "doi": "10.1007/978-3-662-46706-0_6",
          "quote_location": "FSE 2014 / ePrint 2015/557"
        }
      ]
    }
  ],
  "dead_ends": [],
  "lifecycle_stage": "standardized"
}
