{
  "id": "2020/783",
  "url": "https://opencryptology.org/2020/783",
  "original_url": "https://eprint.iacr.org/2020/783",
  "title": "Adventures in Crypto Dark Matter: Attacks, Fixes for Weak Pseudorandom Functions",
  "authors": [
    "Jung Hee Cheon",
    "Wonhee Cho",
    "Jeong Han Kim",
    "Jiseung Kim"
  ],
  "affiliations": null,
  "abstract": "A weak pseudorandom function (weak PRF) is one of the most important cryptographic primitives for its efficiency although it has lower security than a standard PRF.\n\nRecently, Boneh et al. (TCC'18) introduced two types of new weak PRF candidates, which are called a basic Mod-2/Mod-3 and alternative Mod-2/Mod-3 weak PRF.\nBoth use the mixture of linear computations defined on different small moduli to satisfy conceptual simplicity, low complexity (depth-2 ${\\sf ACC^0}$) and MPC friendliness. In fact, the new candidates are conjectured to be exponentially secure against any adversary that allows exponentially many samples, and a basic Mod-2/Mod-3 weak PRF is the only candidate that satisfies all features above. However, none of the direct attacks which focus on basic and alternative Mod-2/Mod-3 weak PRFs use their own structures.\n\nIn this paper, we investigate weak PRFs from two perspectives; attacks, fixes.\nWe first propose direct attacks for an alternative Mod-2/Mod-3 weak PRF and a basic Mod-2/Mod-3 weak PRF when a circulant matrix is used as a secret key.\n\nFor an alternative Mod-2/Mod-3 weak PRF, we prove that the adversary's advantage is at least $2^{-0.105n}$, where $n$ is the size of the input space of the weak PRF. Similarly, we show that the advantage of our heuristic attack to the weak PRF with a circulant matrix key is larger than $2^{-0.21n}$, which is contrary to the previous expectation that `structured secret key' does not affect the security of a weak PRF. Thus, for an optimistic parameter choice $n = 2\\lambda$ for the security parameter $\\lambda$, parameters should be increased to preserve $\\lambda$-bit security when an adversary obtains exponentially many samples.\n\nNext, we suggest a simple method for repairing two weak PRFs affected by our attack while preserving the\nparameters.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Adventures in Crypto Dark Matter: Attacks, Fixes for Weak Pseudorandom Functions” by Jung Hee Cheon, Wonhee Cho, Jeong Han Kim, Jiseung Kim, Cryptology ePrint Archive, Paper 2020/783, https://eprint.iacr.org/2020/783. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2020-06-27T18:46:50Z",
    "updated": "2021-05-04T06:07:01Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/783.pdf",
    "sha256": "1604e79e0fb5e4116b14568c4cb1e17661f34345769c9bb8359ec16157bd7967",
    "size": 464729,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2020/783/versions/20240114T061314Z.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/783.pdf",
      "size": 464729,
      "sha256": "1604e79e0fb5e4116b14568c4cb1e17661f34345769c9bb8359ec16157bd7967",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2020/783/versions/20200930T214201Z.pdf",
      "captured_at": "2020-09-30T21:42:01Z",
      "label": "copy captured 2020-09-30",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20200930214201id_/https://eprint.iacr.org/2020/783.pdf",
      "size": 482076,
      "sha256": "da4e1e3415cf10cb715b06bcf055be18b087745a1a1061be344a74aa86f8f602",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250430061910id_/https://eprint.iacr.org/2020/783.pdf",
      "captured_at": "2025-04-30T06:19:10Z",
      "size": 438769
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/783.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 464729
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/783,\n      author = {Jung Hee Cheon and Wonhee Cho and Jeong Han Kim and Jiseung Kim},\n      title = {Adventures in Crypto Dark Matter: Attacks, Fixes for Weak Pseudorandom Functions},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/783},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/783}\n}"
}
