{
  "id": "2017/521",
  "url": "https://opencryptology.org/2017/521",
  "original_url": "https://eprint.iacr.org/2017/521",
  "title": "Breaking the FF3 Format-Preserving Encryption Standard Over Small Domains",
  "authors": [
    "F. Betül Durak",
    "Serge Vaudenay"
  ],
  "affiliations": null,
  "abstract": "The National Institute of Standards and Technology (NIST) recently published a Format-Preserving Encryption standard accepting two Feistel structure based schemes called FF1 and FF3. Particularly, FF3 is a tweakable block cipher based on an 8-round Feistel network. In CCS~2016, Bellare et. al. gave an attack to break FF3 (and FF1) with time and data complexity $O(N^5\\log(N))$, which is much larger than the code book (but using many tweaks), where $N^2$ is domain size to the Feistel network. In this work, we give a new practical total break attack to the FF3 scheme (also known as BPS scheme). Our FF3 attack requires $O(N^{\\frac{11}{6}})$ chosen plaintexts with time complexity $O(N^{5})$. Our attack was successfully tested with $N\\leq2^9$. It is a slide attack (using two tweaks) that exploits the bad domain separation of the FF3 design. Due to this weakness, we reduced the FF3 attack to an attack on 4-round Feistel network. Biryukov et. al. already gave a 4-round Feistel structure attack in SAC~2015. However, it works with chosen plaintexts and ciphertexts whereas we need a known-plaintext attack. Therefore, we developed a new generic known-plaintext attack to 4-round Feistel network that reconstructs the entire tables for all round functions. It works with $N^{\\frac{3}{2}} \\left( \\frac{N}{2} \\right)^{\\frac{1}{6}}$ known plaintexts and time complexity $O(N^{3})$. Our 4-round attack is simple to extend to five and more rounds with complexity $N^{(r-5)N+o(N)}$. It shows that FF1 with $N=7$ and FF3 with $7\\leq N\\leq10$ do not offer a 128-bit security. Finally, we provide an easy and intuitive fix to prevent the FF3 scheme from our $O(N^{5})$ attack.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Breaking the FF3 Format-Preserving Encryption Standard Over Small Domains” by F. Betül Durak, Serge Vaudenay, Cryptology ePrint Archive, Paper 2017/521, https://eprint.iacr.org/2017/521. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2017-06-05T13:56:48Z",
    "updated": "2017-06-05T13:56:48Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2017/521.pdf",
    "sha256": "08df2b7384fb513ffa0c20bd0d43f95ee7d8aa6efff4b1af6aedc692c52d1858",
    "size": 477102,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:41:11Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2017/521/versions/20190225T174111Z.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/521.pdf",
      "size": 477102,
      "sha256": "08df2b7384fb513ffa0c20bd0d43f95ee7d8aa6efff4b1af6aedc692c52d1858",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260220042420id_/https://eprint.iacr.org/2017/521.pdf",
      "captured_at": "2026-02-20T04:24:20Z",
      "size": 478401
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/521.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "size": 477102
    }
  ],
  "bibtex": "@misc{cryptoeprint:2017/521,\n      author = {F. Betül Durak and Serge Vaudenay},\n      title = {Breaking the FF3 Format-Preserving Encryption Standard Over Small Domains},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2017/521},\n      year = {2017},\n      url = {https://eprint.iacr.org/2017/521}\n}"
}
