{
  "id": "2025/2148",
  "url": "https://opencryptology.org/2025/2148",
  "original_url": "https://eprint.iacr.org/2025/2148",
  "title": "Introducing the ALF family: AES-NI-based length- and format-preserving encryption",
  "authors": [
    "Dachao Wang",
    "Alexander Maximov",
    "Thomas Johansson"
  ],
  "affiliations": null,
  "abstract": "This paper introduces the ALF cipher family, designed for format-preserving encryption. The key strategy is to leverage AES-NI instructions to achieve a high software performance while also providing 128-bit security. \n\nA central part of the paper is the design of an AES-related bit-oriented block cipher called ALF-$n$-$t$, with a block size ranging from 16 to 127 bits. The core of the design is byte-oriented, but allows appending up to 7 bits to a byte-oriented input. We introduce an approach for efficient implementation using AES-NI, even though the block size is not 128 bits. The block cipher family is turned into a format-preserving encryption by a new cycle-sliding transformation, improving slightly on traditional cycle-walking. Performance evaluation shows speed improvements compared to the standardised algorithm FF1 and the previous FF3.\n\nAs the input size may vary a lot between different cases, we also include the description of other members of the ALF family that cover different domain sizes. While these designs differ, they share a common theme: the use of AES-NI instructions.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Introducing the ALF family: AES-NI-based length- and format-preserving encryption” by Dachao Wang, Alexander Maximov, Thomas Johansson, Cryptology ePrint Archive, Paper 2025/2148, https://eprint.iacr.org/2025/2148. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-11-24T10:43:56Z",
    "updated": "2026-05-27T09:21:53Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/2148.pdf",
    "sha256": "4cf574ca7261005729780fa2307cf638b641724652e2a831909f650bd2bd034b",
    "size": 1284551,
    "source": "upload",
    "source_date": "2026-11-14T03:47:14.941Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/2148/versions/20261114T034714Z.pdf",
      "captured_at": "2026-11-14T03:47:14.941Z",
      "label": "copy captured 2026-11-14",
      "source": "upload",
      "source_url": null,
      "size": 1284551,
      "sha256": "4cf574ca7261005729780fa2307cf638b641724652e2a831909f650bd2bd034b",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/2148/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/2025/2148.pdf",
      "size": 1231747,
      "sha256": "9d51a8146bf15227b5e038135f3a327c2c934c4e22c1fe1b10ed87edc6a44013",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260527052620id_/https://eprint.iacr.org/2025/2148.pdf",
      "captured_at": "2026-05-27T05:26:20Z",
      "size": 1165721
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/2148.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 1231747
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/2148,\n      author = {Dachao Wang and Alexander Maximov and Thomas Johansson},\n      title = {Introducing the ALF family: AES-NI-based length- and format-preserving encryption},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/2148},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/2148}\n}"
}
