{
  "id": "2021/010",
  "url": "https://opencryptology.org/2021/010",
  "original_url": "https://eprint.iacr.org/2021/010",
  "title": "Compcrypt -- Lightweight ANS-based Compression and Encryption",
  "authors": [
    "Seyit Camtepe",
    "Jarek Duda",
    "Arash Mahboubi",
    "Pawel Morawiecki",
    "Surya Nepal",
    "Marcin Pawlowski",
    "Josef Pieprzyk"
  ],
  "affiliations": null,
  "abstract": "Compression is widely used in Internet communication to save communication time and bandwidth. Recently invented by Jarek Duda asymmetric numeral system (ANS) offers an improved efficiency and a close to optimal compression. The ANS algorithm has been deployed by major IT companies such as Facebook, Google and Apple. Compression by itself does not provide any security (such as confidentiality or authentication of transmitted data). An obvious solution to this problem is an encryption of compressed bitstream. However, it requires two algorithms: one for compression and the other for encryption.\n\nIn this work, we investigate natural properties of ANS that allow to incorporate authenticated encryption using as little cryptography as possible. We target low-level security communication such as transmission of data from IoT devices/sensors. In particular, we propose three solutions for joint compression and encryption (compcrypt). All of them use a pseudorandom bit generator (PRGB) based on lightweight stream ciphers. The first solution applies state jumps controlled by PRGB. The second one employs two ANS algorithms, where compression switches between the two. The switch is controlled by a PRGB bit. The third compcrypt modifies the encoding function of ANS depending on PRGB bits. Security and efficiency of the proposed compcrypt algorithms are evaluated.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Compcrypt -- Lightweight ANS-based Compression and Encryption” by Seyit Camtepe, Jarek Duda, Arash Mahboubi, Pawel Morawiecki, Surya Nepal, Marcin Pawlowski, Josef Pieprzyk, Cryptology ePrint Archive, Paper 2021/010, https://eprint.iacr.org/2021/010. 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-01-06T21:22:57Z",
    "updated": "2021-01-06T21:22:57Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/010.pdf",
    "sha256": "0f824bc679f3ef596438c5c8301e700a39fb7faed10357489902f0d10a66b515",
    "size": 658939,
    "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/010/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/10.pdf",
      "size": 658939,
      "sha256": "0f824bc679f3ef596438c5c8301e700a39fb7faed10357489902f0d10a66b515",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250213165709id_/https://eprint.iacr.org/2021/010.pdf",
      "captured_at": "2025-02-13T16:57:09Z",
      "size": 655686
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/10.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 658939
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/010,\n      author = {Seyit Camtepe and Jarek Duda and Arash Mahboubi and Pawel Morawiecki and Surya Nepal and Marcin Pawlowski and Josef Pieprzyk},\n      title = {Compcrypt -- Lightweight ANS-based Compression and Encryption},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/010},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/010}\n}"
}
