{
  "id": "2018/500",
  "url": "https://opencryptology.org/2018/500",
  "original_url": "https://eprint.iacr.org/2018/500",
  "title": "Encrypt or Decrypt? To Make a Single-Key Beyond Birthday Secure Nonce-Based MAC",
  "authors": [
    "Nilanjan Datta",
    "Avijit Dutta",
    "Mridul Nandi",
    "Kan Yasuda"
  ],
  "affiliations": null,
  "abstract": "In CRYPTO 2016, Cogliati and Seurin have proposed a highly secure nonce-based MAC called Encrypted Wegman-Carter with Davies-Meyer ($\\textsf{EWCDM}$) construction, as $\\textsf{E}_{K_2}\\bigl(\\textsf{E}_{K_1}(N)\\oplus N\\oplus \\textsf{H}_{K_h}(M)\\bigr)$ for a nonce $N$ and a message $M$. This construction achieves roughly $2^{2n/3}$ bit MAC security with the assumption that $\\textsf{E}$ is a PRP secure  $n$-bit block cipher and $\\textsf{H}$ is an almost xor universal $n$-bit hash function. In this paper we propose Decrypted Wegman-Carter with Davies-Meyer ($\\textsf{DWCDM}$) construction, which is structurally very similar to its predecessor $\\textsf{EWCDM}$ except that the outer encryption call is replaced by decryption. The biggest advantage of $\\textsf{DWCDM}$ is that we can make a truly single key MAC: the two block cipher calls can use the same block cipher key $K=K_1=K_2$. Moreover, we can derive the hash key as $K_h=\\textsf{E}_K(1)$, as long as $|K_h|=n$. Whether we use encryption or decryption in the outer layer  makes a huge difference; using the decryption instead enables us to apply an extended version of the mirror theory by Patarin to the security analysis of the construction. $\\textsf{DWCDM}$ is secure beyond the birthday bound, roughly up to $2^{2n/3}$ MAC queries and $2^n$ verification queries against nonce-respecting adversaries. $\\textsf{DWCDM}$ remains secure up to $2^{n/2}$ MAC queries and $2^n$ verification queries against nonce-misusing adversaries.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Encrypt or Decrypt? To Make a Single-Key Beyond Birthday Secure Nonce-Based MAC” by Nilanjan Datta, Avijit Dutta, Mridul Nandi, Kan Yasuda, Cryptology ePrint Archive, Paper 2018/500, https://eprint.iacr.org/2018/500. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2018-05-25T18:42:45Z",
    "updated": "2018-06-08T08:18:29Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2018/500.pdf",
    "sha256": "03c34a8fafd66495944f98c7c36c09da63b7924c4a15b6538424bedd124b3b5e",
    "size": 542745,
    "source": "github-mirror",
    "source_date": "2019-02-25T18:03:07Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2018/500/versions/20190225T180307Z.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/500.pdf",
      "size": 542745,
      "sha256": "03c34a8fafd66495944f98c7c36c09da63b7924c4a15b6538424bedd124b3b5e",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251104035152id_/https://eprint.iacr.org/2018/500.pdf",
      "captured_at": "2025-11-04T03:51:52Z",
      "size": 543640
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/500.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "size": 542745
    }
  ],
  "bibtex": "@misc{cryptoeprint:2018/500,\n      author = {Nilanjan Datta and Avijit Dutta and Mridul Nandi and Kan Yasuda},\n      title = {Encrypt or Decrypt? To Make a Single-Key Beyond Birthday Secure Nonce-Based MAC},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2018/500},\n      year = {2018},\n      url = {https://eprint.iacr.org/2018/500}\n}"
}
