





















Alberto Leporati, University of Milano-Bicocca
Simone Basile, University of Milano-Bicocca
Sorting encrypted values is an open research problem that plays a crucial role in the broader objective of providing efficient and practical privacy-preserving online services. The current state of the art work by Mazzone, Everts, Hahn and Peter (USENIX Security '25) proposes efficient algorithms for indexing and sorting based on the CKKS scheme, which deviates from the compare-and-swap paradigm, typically used by sorting networks, using a permutation-based approach. In this work, we follow up their work and explore different approaches to approximate the nonlinear functions required by the circuit. We propose simpler and concrete solutions that allow for faster computations, smaller memory requirements and higher precision. For example, our framework allows to sort 128 real elements in roughly 22 seconds, while maintaining a precision of $0.001$ and requiring 3 GB of memory. Furthermore, we propose an implementation of a swap-based bitonic network that is not based on approximations of the $\text{sgn}(x)$ function, which scales linearly with the number of values, useful when the number of available slots is small.
BibTeX
@misc{cryptoeprint:2025/1150,
author = {Lorenzo Rovida and Alberto Leporati and Simone Basile},
title = {Lightweight Sorting in Approximate Homomorphic Encryption},
howpublished = {Cryptology {ePrint} Archive, Paper 2025/1150},
year = {2025},
doi = {10.62056/a3ksdkmol},
url = {https://eprint.iacr.org/2025/1150}
}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。