{
  "id": "2016/344",
  "url": "https://opencryptology.org/2016/344",
  "original_url": "https://eprint.iacr.org/2016/344",
  "title": "Encoding Rational Numbers for FHE-based Applications",
  "authors": [
    "HeeWon Chung",
    "Myungsun Kim"
  ],
  "affiliations": null,
  "abstract": "This work addresses a basic problem of security systems that operate on very sensitive information, such as healthcare data. Specifically, we are interested in the problem of privately handling medical data represented by rational numbers.\nConsidering the complicated computations on encrypted medical data,\none of the natural and powerful tools for ensuring privacy of the data is fully homomorphic encryption (FHE). However, because the plaintext domain of known FHE schemes is restricted to a set of quite small integers, it is not easy to obtain efficient algorithms for encrypted  rational numbers in terms of space and computation costs. Our observation is that this inefficiency can be alleviated by using a different  representation of rational numbers instead of naive expressions. For example, the naïve decimal representation considerably restricts the choice of parameters in employing an FHE scheme, particularly the plaintext size.\n\nThe starting point of our technique in this work is to encode rational numbers using continued fractions. Because continued fractions enable us to represent\nrational numbers as a sequence of integers, we can use a plaintext space with a small size while preserving the same quality of precision. However, this encoding technique requires performing very complex arithmetic operations, such as division and modular reduction. Theoretically, FHE allows the evaluation of any function, including modular reduction at encrypted data, but it requires a Boolean circuit of very high degree to be constructed. Hence, we primarily focus on developing an approach to solve this efficiency problem using homomorphic operations with small degrees.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Encoding Rational Numbers for FHE-based Applications” by HeeWon Chung, Myungsun Kim, Cryptology ePrint Archive, Paper 2016/344, https://eprint.iacr.org/2016/344. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2016-03-31T07:44:49Z",
    "updated": "2016-03-31T07:44:49Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2016/344.pdf",
    "sha256": "cf0399cca378a92c4b900ca3e1fef991750492d2b8d0ee810092db792d289868",
    "size": 403648,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:24:56Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2016/344/versions/20190225T172456Z.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/344.pdf",
      "size": 403648,
      "sha256": "cf0399cca378a92c4b900ca3e1fef991750492d2b8d0ee810092db792d289868",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260223081155id_/https://eprint.iacr.org/2016/344.pdf",
      "captured_at": "2026-02-23T08:11:55Z",
      "size": 404942
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/344.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "size": 403648
    }
  ],
  "bibtex": "@misc{cryptoeprint:2016/344,\n      author = {HeeWon Chung and Myungsun Kim},\n      title = {Encoding Rational Numbers for FHE-based Applications},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2016/344},\n      year = {2016},\n      url = {https://eprint.iacr.org/2016/344}\n}"
}
