{
  "id": "2022/1702",
  "url": "https://opencryptology.org/2022/1702",
  "original_url": "https://eprint.iacr.org/2022/1702",
  "title": "SCB Mode: Semantically Secure Length-Preserving Encryption",
  "authors": [
    "Fabio Banfi"
  ],
  "affiliations": null,
  "abstract": "To achieve semantic security, symmetric encryption schemes classically require ciphertext expansion. In this paper we provide a means to achieve semantic security while preserving the length of messages at the cost of mildly sacrificing correctness. Concretely, we propose a new scheme that can be interpreted as a secure alternative to (or wrapper around) plain Electronic Codebook (ECB) mode of encryption, and for this reason we name it Secure Codebook (SCB). Our scheme is the first length-preserving encryption scheme to effectively achieve semantic security.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“SCB Mode: Semantically Secure Length-Preserving Encryption” by Fabio Banfi, Cryptology ePrint Archive, Paper 2022/1702, https://eprint.iacr.org/2022/1702. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-12-08T14:03:50Z",
    "updated": "2022-12-08T14:03:50Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1702.pdf",
    "sha256": "61005966b748e34c9cf92b8dbc4f788ff85bfe7ceb5128ac29ccd7ff159aa141",
    "size": 2980938,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1702/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1702.pdf",
      "size": 2980938,
      "sha256": "61005966b748e34c9cf92b8dbc4f788ff85bfe7ceb5128ac29ccd7ff159aa141",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251229233836id_/https://eprint.iacr.org/2022/1702.pdf",
      "captured_at": "2025-12-29T23:38:36Z",
      "size": 2956843
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1702.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 2980938
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1702,\n      author = {Fabio Banfi},\n      title = {SCB Mode: Semantically Secure Length-Preserving Encryption},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1702},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1702}\n}"
}
