{
  "id": "2025/1170",
  "url": "https://opencryptology.org/2025/1170",
  "original_url": "https://eprint.iacr.org/2025/1170",
  "title": "Optimized Rank Sort for Encrypted Real Numbers",
  "authors": [
    "Seunghu Kim",
    "Eymen Ünay",
    "Ayse Yilmazer-Metin",
    "Hyung Tae Lee"
  ],
  "affiliations": null,
  "abstract": "Sorting arrays encrypted under fully homomorphic encryption remains a fundamental challenge due to the high cost of private comparisons and the incompatibility of conventional sorting algorithms with the encrypted domain. Recently, Hong et al. (IEEE Transactions on Information Forensics and Security, 2021) proposed a $k$-way sorting network tailored to encrypted real numbers, but its reliance on multiple comparison stages incurs substantial multiplicative depth and significant bootstrapping overhead, even for modest array sizes.\n\nIn this work, we propose a novel rank-based sorting algorithm for encrypted real numbers that performs only a single comparison stage, thereby eliminating the need for bootstrapping operations. Our empirical evaluation demonstrates that the proposed method significantly outperforms the $k$-way approach for small to medium array sizes $(n\\leq 1024)$, achieving a $46.91\\times$ speedup at $n=256$ with a total runtime of $79$ seconds. Furthermore, we examine the recent matrix-based rank sort method by Mazzone et al. (USENIX Security '25) and show that integrating our optimized rank construction improves its efficiency. Specifically, we achieve $1.77\\times$ and $2.43\\times$ performance gains for $n=128$ and $n=512$, respectively.",
  "category": "Applications",
  "license": {
    "code": "CC BY-NC",
    "url": "https://creativecommons.org/licenses/by-nc/4.0/",
    "label": "CC BY-NC 4.0",
    "attribution": "“Optimized Rank Sort for Encrypted Real Numbers” by Seunghu Kim, Eymen Ünay, Ayse Yilmazer-Metin, Hyung Tae Lee, Cryptology ePrint Archive, Paper 2025/1170, https://eprint.iacr.org/2025/1170. Licensed under CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2025-06-20T12:20:31Z",
    "updated": "2025-06-20T12:20:31Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1170.pdf",
    "sha256": "41a21e2638d3e789fa684b8ed5caa41918aa429bb2df8231ea631515502d195c",
    "size": 1051586,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/1170/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/1170.pdf",
      "size": 1051586,
      "sha256": "41a21e2638d3e789fa684b8ed5caa41918aa429bb2df8231ea631515502d195c",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1170.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 1051586
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250623074242id_/https://eprint.iacr.org/2025/1170.pdf",
      "captured_at": "2025-06-23T07:42:42Z",
      "size": 910583
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1170,\n      author = {Seunghu Kim and Eymen Ünay and Ayse Yilmazer-Metin and Hyung Tae Lee},\n      title = {Optimized Rank Sort for Encrypted Real Numbers},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1170},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1170}\n}"
}
