{
  "id": "2021/335",
  "url": "https://opencryptology.org/2021/335",
  "original_url": "https://eprint.iacr.org/2021/335",
  "title": "Three Third Generation Attacks on the Format Preserving Encryption Scheme FF3",
  "authors": [
    "Ohad Amon",
    "Orr Dunkelman",
    "Nathan Keller",
    "Eyal Ronen",
    "Adi Shamir"
  ],
  "affiliations": null,
  "abstract": "Format-Preserving Encryption (FPE) schemes accept plaintexts from any finite set of values (such as social security numbers or birth dates) and produce ciphertexts that belong to the same set. They are extremely useful in practice since they make it possible to encrypt existing databases or communication packets without changing their format. Due to industry demand, NIST had standardized in 2016 two such encryption schemes called FF1 and FF3. They immediately attracted considerable cryptanalytic attention with decreasing attack complexities. The best currently known attack on the Feistel construction FF3 has data and memory complexity of ${O}(N^{11/6})$ and time complexity of ${O}(N^{17/6})$, where the input belongs to a domain of size $N \\times N$.\n\nIn this paper, we present and experimentally verify three improved attacks on FF3. Our best attack achieves the tradeoff curve $D=M=\\tilde{O}(N^{2-t})$, $T=\\tilde{O}(N^{2+t})$ for all $t \\leq 0.5$. In particular, we can reduce the data and memory complexities to the more practical $\\tilde{O}(N^{1.5})$, and at the same time, reduce the time complexity to $\\tilde{O}(N^{2.5})$.\n\nWe also identify another attack vector against FPE schemes, the related-domain attack. We show how one can mount powerful attacks when the adversary is given access to the encryption under the same key in different domains, and show how to apply it to efficiently distinguish FF3 and FF3-1 instances.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Three Third Generation Attacks on the Format Preserving Encryption Scheme FF3” by Ohad Amon, Orr Dunkelman, Nathan Keller, Eyal Ronen, Adi Shamir, Cryptology ePrint Archive, Paper 2021/335, https://eprint.iacr.org/2021/335. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-03-17T14:27:10Z",
    "updated": "2021-03-17T14:27:10Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/335.pdf",
    "sha256": "4c62fad583502e75cfaaeb4a1e8db8df78408b4a7cfa19d0c7089d07d3b84ef9",
    "size": 447710,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/335/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/335.pdf",
      "size": 447710,
      "sha256": "4c62fad583502e75cfaaeb4a1e8db8df78408b4a7cfa19d0c7089d07d3b84ef9",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260226060921id_/https://eprint.iacr.org/2021/335.pdf",
      "captured_at": "2026-02-26T06:09:21Z",
      "size": 449012
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/335.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 447710
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/335,\n      author = {Ohad Amon and Orr Dunkelman and Nathan Keller and Eyal Ronen and Adi Shamir},\n      title = {Three Third Generation Attacks on the Format Preserving Encryption Scheme FF3},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/335},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/335}\n}"
}
