{
  "id": "2024/1527",
  "url": "https://opencryptology.org/2024/1527",
  "original_url": "https://eprint.iacr.org/2024/1527",
  "title": "How to Recover the Full Plaintext of XCB",
  "authors": [
    "Peng Wang",
    "Shuping Mao",
    "Ruozhou Xu",
    "Jiwu Jing",
    "Yuewu Wang"
  ],
  "affiliations": null,
  "abstract": "XCB, a tweakable enciphering mode, is part of IEEE Std. 1619.2 for shared storage media. We show that all versions of XCB are not secure through three plaintext recovery attacks. A key observation is that XCB behaves like an LRW1-type tweakable block cipher for single-block messages, which lacks CCA security. The first attack targets one-block XCB, using three queries to recover the plaintext. The second one requires four queries to recover the plaintext that excludes one block. The last one requires seven queries to recover the \\emph{full} plaintext. The first attack applies to any scheme that follows the XCB structure, whereas the latter two attacks work on all versions of XCB, exploiting the separable property of the underlying universal hash function. To address these flaws, we propose the XCB* structure, an improved version of XCB that adds only two XOR operations. We prove that XCB* is STPRP-secure when using AXU hash functions, SPRPs, and a secure random-IV-based stream cipher.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY-NC-ND",
    "url": "https://creativecommons.org/licenses/by-nc-nd/4.0/",
    "label": "CC BY-NC-ND 4.0",
    "attribution": "“How to Recover the Full Plaintext of XCB” by Peng Wang, Shuping Mao, Ruozhou Xu, Jiwu Jing, Yuewu Wang, Cryptology ePrint Archive, Paper 2024/1527, https://eprint.iacr.org/2024/1527. Licensed under CC BY-NC-ND 4.0 (https://creativecommons.org/licenses/by-nc-nd/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": true,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2024-09-29T06:40:17Z",
    "updated": "2025-06-04T08:13:10Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/1527.pdf",
    "sha256": "3f365d7415c6629ce31aa6c09f295cfcbd11ba46f6503ac1f59ee71bafd2846e",
    "size": 404655,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/1527/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1527.pdf",
      "size": 404655,
      "sha256": "3f365d7415c6629ce31aa6c09f295cfcbd11ba46f6503ac1f59ee71bafd2846e",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/1527/versions/20250527T131845Z.pdf",
      "captured_at": "2025-05-27T13:18:45Z",
      "label": "copy captured 2025-05-27",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250527131845id_/https://eprint.iacr.org/2024/1527.pdf",
      "size": 668342,
      "sha256": "8bd4e9eadd267dd87a76b3dab4b38e249f157907a82e7235c0576944a7c889de",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2024/1527/versions/20241013T051052Z.pdf",
      "captured_at": "2024-10-13T05:10:52Z",
      "label": "copy captured 2024-10-13",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20241013051052id_/https://eprint.iacr.org/2024/1527.pdf",
      "size": 665566,
      "sha256": "fa303b6c7ef377c2fe524338d62dde03d2186cf37708abe1ee2749fb30de25d1",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2024/1527/versions/20240930T041713Z.pdf",
      "captured_at": "2024-09-30T04:17:13Z",
      "label": "copy captured 2024-09-30",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240930041713id_/https://eprint.iacr.org/2024/1527.pdf",
      "size": 622488,
      "sha256": "6ae3b2c11a9a2bacd4376ac99cb792ab65159f6eb34d0fd4355cbad0cf8c1762",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1527.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 404655
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260304011334id_/https://eprint.iacr.org/2024/1527.pdf",
      "captured_at": "2026-03-04T01:13:34Z",
      "size": 358822
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/1527,\n      author = {Peng Wang and Shuping Mao and Ruozhou Xu and Jiwu Jing and Yuewu Wang},\n      title = {How to Recover the Full Plaintext of XCB},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1527},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/1527}\n}"
}
