{
  "id": "2025/1689",
  "url": "https://opencryptology.org/2025/1689",
  "original_url": "https://eprint.iacr.org/2025/1689",
  "title": "IPCrypt: Optimal, Practical Encryption of IP Addresses for Privacy and Measurement",
  "authors": [
    "Frank Denis"
  ],
  "affiliations": null,
  "abstract": "This paper introduces efficient, practical methods for encrypting IPv4/IPv6 addresses while preserving utility in logs, telemetry, and third-party data exchange.\nWe focus on three practical goals: (i) format-compatible encryption that keeps outputs in the IPv6 address space and handles IPv4 inputs canonically; (ii) prefix-preserving encryption that retains network structure for analytics while hiding host identity; and (iii) non-deterministic encryption that resists correlation while remaining compact and invertible.\nWe give deterministic, prefix-preserving, and two non-deterministic variants, with security models and arguments under standard assumptions, plus explicit usage bounds and operating limits.\nWe also relate each variant to known efficiency lower bounds (ciphertext expansion and primitive calls) and state our claims within deployable parameter ranges.",
  "category": "Applications",
  "license": {
    "code": "CC0",
    "url": "https://creativecommons.org/publicdomain/zero/1.0/",
    "label": "CC0 1.0",
    "attribution": "“IPCrypt: Optimal, Practical Encryption of IP Addresses for Privacy and Measurement” by Frank Denis, Cryptology ePrint Archive, Paper 2025/1689, https://eprint.iacr.org/2025/1689. Licensed under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-09-17T09:17:54Z",
    "updated": "2025-09-17T09:17:54Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1689.pdf",
    "sha256": "8904ee13b3abaa141fad9972e0f72a56d9cb97c7072979486354e807b61d7c37",
    "size": 437962,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/1689/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1689.pdf",
      "size": 437962,
      "sha256": "8904ee13b3abaa141fad9972e0f72a56d9cb97c7072979486354e807b61d7c37",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260818233334id_/https://eprint.iacr.org/2025/1689.pdf",
      "captured_at": "2026-08-18T23:33:34Z",
      "size": 439282
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1689.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 437962
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1689,\n      author = {Frank Denis},\n      title = {IPCrypt: Optimal, Practical Encryption of IP Addresses for Privacy and Measurement},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1689},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1689}\n}"
}
