{
  "id": "2014/670",
  "url": "https://opencryptology.org/2014/670",
  "original_url": "https://eprint.iacr.org/2014/670",
  "title": "DoubleMod and SingleMod: Simple Randomized Secret-Key Encryption with Bounded Homomorphicity",
  "authors": [
    "Dhananjay S. Phatak",
    "Qiang Tang",
    "Alan T. Sherman",
    "Warren D. Smith",
    "Peter Ryan",
    "Kostas Kalpakis"
  ],
  "affiliations": null,
  "abstract": "An encryption relation $f \\subseteq {\\mathbb Z} \\times {\\mathbb Z}$ with decryption function $f^{-1}$ is {\\it ``group-homomorphic''} if,  for any suitable plaintexts $x_1$ and $x_2$, $\\, x_1+x_2 = f^{-1} ( f(x_1) + f(x_2) )$. It is {\\it ``ring-homomorphic''} if furthermore $x_1 x_2 = f^{-1} ( f(x_1) f(x_2) )$; it is {\\it ``field-homomorphic''} if furthermore $1/x_1 = f^{-1} ( f(1/x_1) )$.  Such relations would support oblivious processing of encrypted data.\n\nWe propose a simple randomized encryption relation~$f$ over the integers, called\\linebreak {\\it \\mbox{DoubleMod}}, which is ``bounded ring-homomorphic''  or what some call \"somewhat homomorphic.\" Here, ``bounded'' means that the number of additions and multiplications that  can be performed, while not allowing the  encrypted values to go out of range, is limited~(any pre-specified  bound on the operation-count can be accommodated). Let $R$ be any large integer. For any plaintext $x \\in {\\mathbb Z}_R$, DoubleMod encrypts $x$ as $f(x) = x + au + bv$, where $a$ and $b$ are randomly chosen integers in some appropriate interval, while $(u,v)$ is the secret key. Here $u>R^2$ is a large prime and the smallest prime factor of $v$ exceeds $u$. With knowledge of the key, but not of $a$ and $b$, the receiver decrypts the ciphertext by computing $f^{-1}(y) =(y \\bmod v) \\bmod u$.\n\nDoubleMod generalizes an independent idea of van Dijk {\\it et al.} 2010.  We present and refine a new CCA1 chosen-ciphertext attack that finds the secret key of both systems (ours and van Dijk {\\it et al.}'s) in linear time in the bit length of the security parameter. Under a known-plaintext attack,  breaking DoubleMod is at most as hard  as solving the {\\it Approximate GCD (AGCD)} problem. The complexity of AGCD is not known.\n\nWe also introduce the  \\mbox{{\\it SingleMod}} {field}-homomorphic cryptosystems. The simplest\\linebreak \\mbox{SingleMod} system based on the integers can be broken trivially. We had hoped, that if SingleMod is implemented inside  non-Euclidean quadratic or higher-order fields with large discriminants,  where GCD computations appear difficult,  it may be feasible to achieve a desired level of security. We show, however, that a variation of our chosen-ciphertext attack works against SingleMod even in non-Euclidean fields.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“DoubleMod and SingleMod: Simple Randomized Secret-Key Encryption with Bounded Homomorphicity” by Dhananjay S. Phatak, Qiang Tang, Alan T. Sherman, Warren D. Smith, Peter Ryan, Kostas Kalpakis, Cryptology ePrint Archive, Paper 2014/670, https://eprint.iacr.org/2014/670. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2014-08-28T23:09:40Z",
    "updated": "2014-08-28T23:09:40Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2014/670.pdf",
    "sha256": "28f41d4dbb3c00e6054d130caffba9446689eff3a874a95add6625d224ad4b4e",
    "size": 192432,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:55:32Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2014/670/versions/20190225T165532Z.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/670.pdf",
      "size": 192432,
      "sha256": "28f41d4dbb3c00e6054d130caffba9446689eff3a874a95add6625d224ad4b4e",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260312010920id_/https://eprint.iacr.org/2014/670.pdf",
      "captured_at": "2026-03-12T01:09:20Z",
      "size": 187339
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/670.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "size": 192432
    }
  ],
  "bibtex": "@misc{cryptoeprint:2014/670,\n      author = {Dhananjay S. Phatak and Qiang Tang and Alan T. Sherman and Warren D. Smith and Peter Ryan and Kostas Kalpakis},\n      title = {DoubleMod and SingleMod: Simple Randomized Secret-Key Encryption with Bounded Homomorphicity},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2014/670},\n      year = {2014},\n      url = {https://eprint.iacr.org/2014/670}\n}"
}
