LightPHE: Integrating Partially Homomorphic Encryption into Python with Extensive Cloud Environment Evaluations
<|reference_start|>LightPHE: Integrating Partially Homomorphic Encryption into Python with Extensive Cloud Environment Evaluations: Homomorphic encryption enables computations on encrypted data without accessing private keys, enhancing security in cloud environments. Without this technology, updates need to be performed on-premises or require transmitting private keys to the cloud, increasing security risks. Fully homomorphic encryption (FHE) supports both additive and multiplicative operations on ciphertexts, while partially homomorphic encryption (PHE) supports either addition or multiplication, offering a more efficient and practical solution.   This study introduces LightPHE, a lightweight hybrid PHE framework for Python, designed to address the lack of existing PHE libraries. LightPHE integrates multiple PHE algorithms with a modular and extensible design, ensuring robustness and usability for rapid prototyping and secure application development.   Cloud-based experiments were conducted on Google Colab (Normal, A100 GPU, L4 GPU, T4 High RAM, TPU2) and Microsoft Azure Spark to evaluate LightPHE's performance and scalability. Key metrics such as key generation, encryption, decryption, and homomorphic operations were assessed. Results showed LightPHE's superior performance in high-computation environments like Colab A100 GPU and TPU2, while also offering viable options for cost-effective setups like Colab Normal and Azure Spark.   Comparative analyses demonstrated LightPHE's efficiency and scalability, making it suitable for various applications. The benchmarks offer insights into selecting appropriate cloud environments based on performance needs, highlighting LightPHE's potential to advance homomorphic encryption for secure and efficient cloud-based data processing.<|reference_end|>
@article{serengil2024lightphe:,
    title={LightPHE: Integrating Partially Homomorphic Encryption into Python with
  Extensive Cloud Environment Evaluations},
    author={Sefik Ilkin Serengil, Alper Ozpinar},
    journal={arXiv preprint arXiv:2408.05219},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.05219},
    primaryClass={cs.CR}
}