Sustainable Cryptography: Carbon Asymmetry in Partially Homomorphic Encryption in the Cloud
Abstract
1. Introduction
1.1. Related Work
1.2. Organization of the Paper
2. Data Center Emissions
Emissions Categorization and Impact
3. Algorithms
3.1. RSA
3.2. ElGamal
3.3. Exponential ElGamal
3.4. Elliptic Curve ElGamal
3.5. Paillier
3.6. Damgård–Jurik
3.7. Okamoto–Uchiyama
3.8. Goldwasser–Micali
3.9. Benaloh
3.10. Naccache–Stern
4. Materials and Methods
4.1. Scope and Claim Boundary
4.2. Design and Architecture
4.3. Power Calibration Experiment
4.3.1. Hardware and Software Configuration
- CPU: Intel Core Ultra 9 285H (Arrow Lake-H), 6 Performance cores (up to 5.4 GHz), 8 Efficient cores (up to 3.7 GHz), 2 Low-Power Efficient cores. Manufacturer-configured PL1: 77 W, PL2: 115 W.
- Memory: 64 GB DDR5.
- GPU: NVIDIA RTX Pro 2000 (idle during all benchmarks; no PHE computation uses GPU resources).
- OS: Microsoft Windows 11 Pro.
- Power measurement: HWiNFO64 v8.44, reading Intel RAPL CPU package power and total system power sensors at 500 ms intervals.
- Library: LightPHE v0.0.21 (pure Python 3.14.5, single-threaded execution).
4.3.2. Experimental Protocol
4.3.3. Calibration Results
4.3.4. Transferability to Cloud and Data Center Environments
4.4. Experimental Design and Statistical Protocol
5. Results and Discussion
| Listing 1: Building a Cryptosystem. |
| # install the library if not installed yet !pip install lightphe # import the library from lightphe import LightPHE # supported PHE algorithms algorithms = [ “RSA”, “ElGamal”, “Goldwasser--Micali”, “Exponential-ElGamal”, “EllipticCurve-ElGamal”, “Paillier”, “Damgard--Jurik”, “Okamoto--Uchiyama”, “Benaloh”, “Naccache--Stern”, ] # build cryptosystem with private--public key pair cs = LightPHE( algorithm_name = algorithms[0], key_size = 1024, ) |
| Listing 2: Encrypt and Decrypt with Built Cryptosystem. |
| # define plaintext m = 17 # calculate ciphertext with public key c = cs.encrypt(m) # proof of work - decrypt with private key assert cs.decrypt(c) == m |
| Listing 3: On-Premises Encryptions. |
| def encrypt_on_prem() -> Tuple[int, int, dict]: “““ Build Paillier with random keys & encrypt Returns: a tuple of - c1 (int): 1st ciphertext - c2 (int): 2nd ciphertext - public_key (dict): public key ””” # on prem builds a Paillier cryptosystem cs = LightPHE(algorithm_name = “Paillier”) # on prem defines plaintexts m1 = 10000 # base salary m2 = 500 # wage increase in amount # on prem calculates ciphertexts c1 = cs.encrypt(m1) c2 = cs.encrypt(m2) return (c1.value, c2.value, cs.cs.keys[“public_key”]) |
| Listing 4: Cloud Calculations. |
| def perform_homomorphic_operation_on_cloud( c1: int, c2: int, public_key: dict ) -> int: “““ Perform homomorphic addition on cloud Args: c1 (int): 1st ciphertext c2 (int): 2nd ciphertext public_key (dict): public key Returns: c3 (int): homomorphic addition of c1 & c2 ””” # cloud builds same cs with only public key cs = LightPHE( algorithm_name = “Paillier”, keys = public_key ) # cloud casts c1 and c2 to ciphertext objects c1 = cs.create_ciphertext_obj(c1) c2 = cs.create_ciphertext_obj(c2) def confirm_decrypt_not_possible(ciphertext): with pytest.raises( ValueError, match=“You must have private key” ): cs.decrypt(ciphertext) # confirm that cloud cannot decrypt c1 and c2 confirm_decrypt_not_possible(c1) confirm_decrypt_not_possible(c2) # still cloud can perform homomorphic addition c3 = c1 + c2 # confirm that cloud cannot decrypt c3 confirm_decrypt_not_possible(c3) return c3.value |
| Listing 5: Proof of Work. |
| # c3 was calculated by the cloud # on prem has a private key to perform decryption assert cs.decrypt(c3) == m1 + m2 |
| Listing 6: Scalar Multiplication. |
| # build Paillier - it’s additively homomorphic cs = LightPHE(algorithm_name = “Paillier”) # define base salary on prem m1 = 10000 # find encrypted base salary on prem c1 = cs.encrypt(m1) # set 5% wage increase percentage as constant # on prem or in cloud k = 1.05 # calculate encrypted updated salary in cloud # private key is not required! c4 = k ∗ c1 # proof of work on prem - decrypt /w private key assert cs.decrypt(c4) == k ∗ m1 |
| Listing 7: Unsupported Operations Raise Errors. |
| # paillier is not multiplicatively homomorphic with pytest.raises(ValueError): c3 = c1 ∗ c2 # paillier is not homomorphic with respect to XOR with pytest.raises(ValueError): c4 = c1 ^ c2 |
5.1. Performance
5.2. Cloud Performance
5.3. Statistical Analysis of Execution Time Variability
5.4. Security-Normalized Carbon Comparison
5.5. Operation-Level Basis of the ECC-RSA Energy Asymmetry
5.6. Sensitivity Analysis
5.7. Discussion
5.7.1. Implementation-Level Considerations
5.7.2. Algorithm-Specific Carbon Patterns
5.7.3. Decision Framework for Practitioners
5.7.4. Scope Summary: What This Paper Establishes and What It Does Not
6. Conclusions
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
| AI | Artificial Intelligence |
| CPU | Central Processing Unit |
| CRQCs | Cryptographically Relevant Quantum Computers |
| ECC | Elliptic Curve Cryptography |
| EPRI | Electric Power Research Institute |
| FHE | Fully homomorphic encryption |
| GHG | Greenhouse Gas |
| GPU | Graphics Processing Unit |
| HE | Homomorphic encryption |
| HPC | High Performance Computing |
| IEA | International Energy Agency |
| ML-DSA | Module Lattice-Based Digital Signature Algorithm |
| ML-KEM | Module Lattice-Based Key Encapsulation Mechanism |
| NIST | National Institute of Standards and Technology |
| PHE | Partially Homomorphic Encryption |
| PQC | Post Quantum Cryptography |
| PUE | Power Usage Effectiveness |
| RSA | Rivest–Shamir–Adleman |
| SPHINCS+ | Stateless Practical Hash-Based Signatures |
| TPU | Tensor Processing Unit |
References
- Aasen, D.; Aghaee, M.; Alam, Z.; Andrzejczuk, M.; Antipov, A.; Astafev, M.; Avilovas, L.; Barzegar, A.; Bauer, B.; Becker, J.; et al. Roadmap to Fault-Tolerant Quantum Computation Using Topological Qubit Arrays. arXiv 2015, arXiv:2502.12252. [Google Scholar] [CrossRef]
- Russell, J. Quantum Computing 2025. Is It Turning the Corner? 2025. Available online: https://www.hpcwire.com/2025/01/01/quantum-computing-2025-is-it-turning-the-corner/ (accessed on 23 February 2025).
- Kirsch, Z.; Chow, M. Quantum Computing. The Risk to Existing Encryption Methods. 2015. Available online: https://www.cs.tufts.edu/comp/116/archive/fall2015/zkirsch.pdf (accessed on 23 February 2025).
- National Institute of Standards and Technology. NIST Releases First 3 Finalized Post-Quantum Encryption Standards. 2024. Available online: https://www.nist.gov/news-events/news/2024/08/nist-releases-first-3-finalized-post-quantum-encryption-standards (accessed on 23 February 2025).
- Spencer, T.; Singh, S. What the Data Centre and AI Boom Could Mean for the Energy Sector. 2024. Available online: https://www.iea.org/commentaries/what-the-data-centre-and-ai-boom-could-mean-for-the-energy-sector (accessed on 23 February 2025).
- Data Center Dynamics. Newmark. US Data Center Power Consumption to Double by 2030. 2024. Available online: https://www.datacenterdynamics.com/en/news/us-data-center-power-consumption/ (accessed on 23 February 2025).
- Shehabi, A.; Smith, S.J.; Hubbard, A.; Newkirk, A.; Lei, N.; Siddik, M.A.; Holecek, B.; Koomey, J.G.; Masanet, E.R.; Sartor, D.A. 2024 United States Data Center Energy Usage Report; Technical report; Lawrence Berkeley National Laboratory: Berkeley, CA, USA, 2024. [CrossRef]
- Radovanovic, A.; Koningstein, R.; Schneider, I.; Chen, B.; Duarte, A.; Roy, B.; Xiao, D.; Haridasan, M.; Hung, P.; Care, N.; et al. Carbon-Aware Computing for Datacenters. IEEE Trans. Power Syst. 2023, 38, 1270–1280. [Google Scholar] [CrossRef]
- Wu, C.J.; Raghavendra, R.; Gupta, U.; Acun, B.; Ardalani, N.; Maeng, K.; Chang, G.; Aga, F.; Huang, J.; Bai, C.; et al. Sustainable AI: Environmental Implications, Challenges and Opportunities. Proc. Mach. Learn. Syst. 2022, 4, 795–813. [Google Scholar]
- Rivest, R.L.; Adleman, L.; Dertouzos, M.L. On Data Banks and Privacy Homomorphisms. Found. Secur. Comput. 1978, 4, 169–179. [Google Scholar]
- Koc, C.K.; Ozdemir, F.; Ozger, Z.O. Partially Homomorphic Encryption; Springer: Berlin/Heidelberg, Germany, 2021. [Google Scholar]
- Chatterjee, A.; Aung, K.M.M. Fully Homomorphic Encryption in Real World Applications; Springer: Berlin/Heidelberg, Germany, 2019. [Google Scholar]
- Selim, A.; Saračević, M.; Ćatović, A. Homomorphic Cryptographic Scheme Based on Nilpotent Lie Algebras for Post-Quantum Security. Symmetry 2025, 17, 1666. [Google Scholar] [CrossRef]
- Reis, D.; Takeshita, J.; Jung, T.; Niemier, M.; Hu, X.S. Computing-in-Memory for Performance and Energy-Efficient Homomorphic Encryption. IEEE Trans. Very Large Scale Integr. Syst. 2020, 28, 2300–2313. [Google Scholar] [CrossRef]
- Hampson, M. Low-Power Hardware Accelerator Offers Outsized Security. 2023. Available online: https://spectrum.ieee.org/homomorphic-encryption-rise (accessed on 23 February 2025).
- Ullah, S.; Li, J.; Chen, J.; Ali, I.; Khan, S.; Hussain, M.T.; Ullah, F.; Leung, V.C.M. Homomorphic Encryption Applications for IoT and Light-Weighted Environments: A Review. IEEE Internet Things J. 2024. [Google Scholar] [CrossRef]
- Serengil, S.I.; Ozpinar, A. LightPHE: Integrating Partially Homomorphic Encryption into Python with Extensive Cloud Environment Evaluations. arXiv 2024, arXiv:2408.05219. [Google Scholar] [CrossRef]
- Gentry, C. Fully Homomorphic Encryption Using Ideal Lattices. In Proceedings of the 41st Annual ACM Symposium on Theory of Computing; Association for Computing Machinery: New York, NY, USA, 2009; pp. 169–178. [Google Scholar] [CrossRef]
- Acar, A.; Aksu, H.; Uluagac, A.S.; Conti, M. A Survey on Homomorphic Encryption Schemes: Theory and Implementation. Acm Comput. Surv. 2018, 51, 1–35. [Google Scholar] [CrossRef]
- Microsoft SEAL (Release 4.1); Microsoft Research: Redmond, WA, USA, 2023. Available online: https://github.com/Microsoft/SEAL (accessed on 23 February 2025).
- Benaissa, A.; Retiat, B.; Cebere, B.; Belfedhal, A.E. TenSEAL: A Library for Encrypted Tensor Operations Using Homomorphic Encryption. arXiv 2021, arXiv:2104.03152. [Google Scholar] [CrossRef]
- Ibarrondo, A.; Viand, A. Pyfhel: Python for Homomorphic Encryption Libraries. In Proceedings of the Workshop on Encrypted Computing and Applied Homomorphic Cryptography; Association for Computing Machinery: New York, NY, USA, 2021; pp. 11–16. [Google Scholar]
- Erabelli, S. pyFHE. A Python Library for Fully Homomorphic Encryption. Ph.D. Thesis, Massachusetts Institute of Technology, Cambridge, MA, USA, 2020. [Google Scholar]
- Al Badawi, A.; Bates, J.; Bergamaschi, F.; Cousins, D.B.; Erabelli, S.; Genise, N.; Halevi, S.; Hunt, H.; Kim, A.; Lee, Y.; et al. OpenFHE: Open-Source Fully Homomorphic Encryption Library. In Proceedings of the 10th Workshop on Encrypted Computing and Applied Homomorphic Cryptography (WAHC ’22); Association for Computing Machinery: New York, NY, USA, 2022; Available online: https://openfhe.org (accessed on 23 February 2025).
- Halevi, S.; Shoup, V. HElib: Homomorphic Encryption Library. IBM Research. 2020. Available online: https://github.com/homenc/HElib (accessed on 23 February 2025).
- Polyakov, Y.; Rohloff, K.; Ryan, G.W. PALISADE Lattice Cryptography Library. Predecessor of OpenFHE. 2020. Available online: https://palisade-crypto.org (accessed on 23 February 2025).
- Valera-Rodriguez, F.J.; Manzanares-Lopez, P.; Cano, M.D. Empirical Study of Fully Homomorphic Encryption Using Microsoft SEAL. Appl. Sci. 2024, 14, 4047. [Google Scholar] [CrossRef]
- Kupcova, E.; Pleva, M.; Khavan, V.; Drutarovsky, M. A Comparative Study of Partially, Somewhat, and Fully Homomorphic Encryption in Modern Cryptographic Libraries. Electronics 2025, 14, 4753. [Google Scholar] [CrossRef]
- Aljbour, J.; Wilson, T.; Patel, P. Powering Intelligence. Analyzing Artificial Intelligence and Data Center Energy Consumption; Technical Report 3002028905; EPRI: Palo Alto, CA, USA, 2024. [Google Scholar]
- World Resources Institute and World Business Council for Sustainable Development. The Greenhouse Gas Protocol: A Corporate Accounting and Reporting Standard; Technical report; World Resources Institute: Washington, DC, USA, 2004. [Google Scholar]
- Data Center Dynamics. Demystifying Data Center Scope 3 Carbon. 2023. Available online: https://www.datacenterdynamics.com/en/opinions/demystifying-data-center-scope-3-carbon/ (accessed on 23 February 2025).
- Novak, N. Defining Scope 1, 2, 3 Emissions. Available online: https://www.compassdatacenters.com/scope-1-2-3-emissions/ (accessed on 23 February 2025).
- Shehabi, A.; Smith, S.; Sartor, D.; Brown, R.; Herrlin, M.; Koomey, J.; Masanet, E.; Horner, N.; Azevedo, I.; Lintner, W. United States Data Center Energy Usage Report; Technical report; Lawrence Berkeley National Laboratory: Berkeley, CA, USA, 2016.
- U.S. Energy Information Administration. Carbon Dioxide Emissions. Carbon Dioxide Volumes by Sector and Source. Available online: https://www.eia.gov/environment/emissions/co2_vol_mass.php (accessed on 23 February 2025).
- Lin, P.; Bunger, R.; Avelar, V. Quantifying Data Center Scope 3 GHG Emissions to Prioritize Reduction Efforts; White Paper 99; Schneider Electric: Rueil-Malmaison, France, 2023. [Google Scholar]
- Rivest, R.L.; Shamir, A.; Adleman, L. A Method for Obtaining Digital Signatures and Public-Key Cryptosystems. Commun. ACM 1978, 21, 120–126. [Google Scholar] [CrossRef]
- ElGamal, T. A Public Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms. IEEE Trans. Inf. Theory 1985, 31, 469–472. [Google Scholar] [CrossRef]
- Sutikno, S.; Surya, A.; Effendi, R. An Implementation of ElGamal Elliptic Curves Cryptosystems. In Proceedings of the IEEE Asia-Pacific Conference on Circuits and Systems; IEEE: New York, NY, USA, 1998; pp. 483–486. [Google Scholar] [CrossRef]
- Miller, V.S. Use of Elliptic Curves in Cryptography. In Proceedings of the Advances in Cryptology; CRYPTO 1985; Springer: Berlin/Heidelberg, Germany, 1985; pp. 417–426. [Google Scholar] [CrossRef]
- Edwards, H.M. A Normal Form for Elliptic Curves. Bull. Am. Math. Soc. 2007, 44, 393–422. [Google Scholar] [CrossRef]
- Koblitz, N. Elliptic Curve Cryptosystems. Math. Comput. 1987, 48, 203–209. [Google Scholar] [CrossRef]
- Paillier, P. Public-Key Cryptosystems Based on Composite Degree Residuosity Classes. In Proceedings of the Advances in Cryptology; EUROCRYPT 1999; Springer: Berlin/Heidelberg, Germany, 1999; pp. 223–238. [Google Scholar] [CrossRef]
- Damgård, I.; Jurik, M. A Generalisation, a Simplification and Some Applications of Paillier’s Probabilistic Public-Key System. In Proceedings of the Public Key Cryptography; PKC 2001; Springer: Berlin/Heidelberg, Germany, 2001; pp. 119–136. [Google Scholar] [CrossRef]
- Okamoto, T.; Uchiyama, S. A New Public-Key Cryptosystem as Secure as Factoring. In Proceedings of the Advances in Cryptology; EUROCRYPT 1998; Springer: Berlin/Heidelberg, Germany, 1998; pp. 308–318. [Google Scholar] [CrossRef]
- Goldwasser, S.; Micali, S. Probabilistic Encryption. J. Comput. Syst. Sci. 1984, 28, 270–299. [Google Scholar] [CrossRef]
- Benaloh, J. Dense Probabilistic Encryption. Available online: https://sacworkshop.org/proc/SAC_94_006.pdf (accessed on 23 February 2025).
- Naccache, D.; Stern, J. A New Public Key Cryptosystem Based on Higher Residues. In Proceedings of the 5th ACM Conference on Computer and Communications Security; ACM: New York, NY, USA, 1998; pp. 59–66. [Google Scholar] [CrossRef]
- Mitchell, J.C.; Plotkin, G.D. Abstract Types Have Existential Type. ACM Trans. Program. Lang. Syst. 1988, 10, 470–502. [Google Scholar] [CrossRef]
- Jin, C.; Bai, X.; Yang, C.; Mao, W.; Xu, X. A review of power consumption models of servers in data centers. Appl. Energy 2020, 265, 114806. [Google Scholar] [CrossRef]
- Meisner, D.; Gold, B.T.; Wenisch, T.F. PowerNap: Eliminating server idle power. In Proceedings of the 14th International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS); ACM: New York, NY, USA, 2009; pp. 205–216. [Google Scholar] [CrossRef]
- Barroso, L.A.; Hölzle, U. The Case for Energy-Proportional Computing. Computer 2007, 40, 33–37. [Google Scholar] [CrossRef]
- Hsu, C.H.; Poole, S.W. Revisiting Server Energy Proportionality. In Proceedings of the 2013 42nd International Conference on Parallel Processing (ICPP); IEEE: New York, NY, USA, 2013; pp. 834–840. [Google Scholar] [CrossRef]
- Ismail, L.; Materwala, H. Computing Server Power Modeling in a Data Center: Survey, Taxonomy, and Performance Evaluation. Acm Comput. Surv. 2020, 53, 1–34. [Google Scholar] [CrossRef]
- Dayarathna, M.; Wen, Y.; Fan, R. Data Center Energy Consumption Modeling: A Survey. IEEE Commun. Surv. Tutor. 2016, 18, 732–794. [Google Scholar] [CrossRef]
- Lin, W.; Shi, F.; Wu, W.; Li, K.; Wu, G.; Mohammed, A.A. A Taxonomy and Survey of Power Models and Power Modeling for Cloud Servers. Acm Comput. Surv. 2020, 53, 1–41. [Google Scholar] [CrossRef] [PubMed]
- Zhang, K.; Ou, D.; Jiang, C.; Qiu, Y.; Yan, L. Power and Performance Evaluation of Memory-Intensive Applications. Energies 2021, 14, 4089. [Google Scholar] [CrossRef]
- Masanet, E.; Shehabi, A.; Lei, N.; Smith, S.; Koomey, J. Recalibrating global data center energy-use estimates. Science 2020, 367, 984–986. [Google Scholar] [CrossRef]
- Roma, C.; Tai, C.H.; Hasan, M.A. Energy Efficiency Analysis of Post-Quantum Cryptographic Algorithms. IEEE Access 2021, 9, 71295–71317. [Google Scholar] [CrossRef]
- Raffin, G.; Trystram, D. Dissecting the Software-Based Measurement of CPU Energy Consumption: A Comparative Analysis. IEEE Trans. Parallel Distrib. Syst. 2024, 36, 96–107. [Google Scholar] [CrossRef]
- Thakur, S.; Banik, S.; Regazzoni, F. Energy Analysis of Cryptographic Algorithms in Server Environment. In Proceedings of the 2024 Cloud Computing Security Workshop (CCSW ’24); ACM: New York, NY, USA, 2024; pp. 3–14. [Google Scholar] [CrossRef]
- Tröpgen, H.; Schöne, R.; Ilsche, T.; Hackenberg, D. 16 Years of SPEC Power: An Analysis of x86 Energy Efficiency Trends. In Proceedings of the 2024 IEEE International Conference on Cluster Computing Workshops (CLUSTER Workshops); IEEE: New York, NY, USA, 2024. [Google Scholar] [CrossRef]
- Barker, E.B.; Barker, W.C.; Burr, W.E.; Polk, W.T.; Smid, M.E. Recommendation for Key Management: Part 1. General; Technical Report NIST Special Publication 800-57 Part 1; National Institute of Standards and Technology: Gaithersburg, MD, USA, 2007.
- Lenstra, A.K.; Lenstra, H.W., Jr. (Eds.) The Development of the Number Field Sieve; Lecture Notes in Mathematics; Springer: Berlin/Heidelberg, Germany, 1993; Volume 1554. [Google Scholar] [CrossRef]
- Pollard, J.M. Monte Carlo Methods for Index Computation (mod p). Math. Comput. 1978, 32, 918–924. [Google Scholar] [CrossRef]
- Hankerson, D.; Menezes, A.J.; Vanstone, S. Guide to Elliptic Curve Cryptography; Springer Professional Computing; Springer: New York, NY, USA, 2004. [Google Scholar] [CrossRef]
- Raza, A.R.; Mahmood, K.; Amjad, M.F.; Abbas, H.; Afzal, M. On the Efficiency of Software Implementations of Lightweight Block Ciphers from the Perspective of Programming Languages. Future Gener. Comput. Syst. 2020, 104, 43–59. [Google Scholar] [CrossRef]








| Library | Focus | Language | Supported Schemes |
|---|---|---|---|
| SEAL [20] | FHE | C++ | BFV, CKKS |
| OpenFHE [24] | FHE | C++ | BFV, BGV, CKKS, FHEW, TFHE |
| HElib [25] | FHE | C++ | BGV, CKKS |
| PALISADE [26] | FHE | C++ | BFV, BGV, CKKS |
| TenSEAL [21] | FHE wrapper | Python over SEAL | BFV, CKKS |
| Pyfhel [22] | FHE wrapper | Python over SEAL | BFV, CKKS |
| LightPHE [17] | PHE | Python | RSA, ElGamal, Exp. ElGamal, EC-ElGamal, Paillier, Damgård–Jurik, Okamoto–Uchiyama, Goldwasser–Micali, Benaloh, Naccache–Stern |
| Emission Category | Definition | Typical Sources | Impact of Increased Energy Consumption |
|---|---|---|---|
| Scope 1 | Direct emissions from owned or controlled sources | Backup generators, refrigerant leaks | Minimal, may increase with more frequent generator use |
| Scope 2 | Indirect emissions from purchased electricity generation | Grid electricity, heat, and steam purchases | Directly increases with higher electricity consumption |
| Scope 3 | Other indirect emissions in the value chain | Hardware production, transportation, facility construction | Increases with more hardware and new facility builds |
| Algorithm | Year | Homomorphic Multiplication | Homomorphic Addition | Scalar Multiplication | Homomorphic XOR | Ciphertext Regeneration |
|---|---|---|---|---|---|---|
| RSA | 1978 | ✓ | ||||
| Goldwasser–Micali | 1984 | ✓ | ||||
| ElGamal | 1985 | ✓ | ||||
| Exp. ElGamal | 1985 | ✓ | ✓ | ✓ | ||
| Benaloh | 1994 | ✓ | ✓ | ✓ | ||
| EC ElGamal | 1998 | ✓ | ✓ | |||
| Naccache–Stern | 1998 | ✓ | ✓ | ✓ | ||
| Okamoto–Uchiyama | 1998 | ✓ | ✓ | ✓ | ||
| Paillier | 1999 | ✓ | ✓ | ✓ | ||
| Damgård–Jurik | 2001 | ✓ | ✓ | ✓ |
| Algorithm | Ciphertext Type | Encryption Requires Random Key |
|---|---|---|
| RSA | int | No |
| Paillier | int | Yes |
| DamgårdJurik | int | Yes |
| OkamotoUchiyama | int | Yes |
| Benaloh | int | Yes |
| NaccacheStern | int | Yes |
| GoldwasserMicali | List[int] | Yes |
| ElGamal | Tuple[int, int] | Yes |
| Exp. ElGamal | Tuple[int, int] | Yes |
| EC ElGamal | Tuple[Tuple[int, int], Tuple[int, int]] | Yes |
| Data Center | Type | Grid Intensity (gCO2/kWh) | PUE | Renewable Ratio |
|---|---|---|---|---|
| DC1_Carbon_1 | Fully Carbon | 600.0 | 1.3 | 0.0 |
| DC2_Carbon_2 | Fully Carbon | 650.0 | 1.4 | 0.0 |
| DC3_Carbon_3 | Fully Carbon | 700.0 | 1.5 | 0.0 |
| DC4_Renewable_1 | Fully Renewable | 100.0 | 1.1 | 1.0 |
| DC5_Renewable_2 | Fully Renewable | 50.0 | 1.05 | 1.0 |
| DC6_Renewable_3 | Fully Renewable | 120.0 | 1.2 | 1.0 |
| DC7_Hybrid_1 | Hybrid | 300.0 | 1.3 | 0.6 |
| DC8_Hybrid_2 | Hybrid | 280.0 | 1.2 | 0.7 |
| DC9_Hybrid_3 | Hybrid | 250.0 | 1.2 | 0.8 |
| DC10_Hybrid_4 | Hybrid | 200.0 | 1.1 | 0.9 |
| Algorithm (Key Size) | Mean Time (s) | CPU Power (W) | System Power (W) | Assumed (W) | Overest. Ratio |
|---|---|---|---|---|---|
| RSA (1024) | 0.036 | 26.7 | 39.4 | 150 | 5.6× |
| RSA (2048) | 0.438 | 34.3 | 48.0 | 150 | 4.4× |
| RSA (4096) | 5.210 | 35.2 | 48.5 | 150 | 4.3× |
| Paillier (4096) | 6.833 | 34.8 | 48.5 | 150 | 4.3× |
| EC-ElGamal (ed25519) | 0.041 | 35.7 | 49.4 | 150 | 4.2× |
| EC-ElGamal (secp256k1) | 0.024 | 35.9 | 49.5 | 150 | 4.2× |
| Overall average | — | 34.7 | 48.4 | 150 | 4.3× |
| Platform Type | CPU Package Power (W) | Total System Power (W) | Source |
|---|---|---|---|
| Mobile workstation (this study) | 26–41 | 39–55 | RAPL measurement |
| Desktop (Core i7) | 30–65 | 80–120 | [58] |
| 1S server, idle | 20–40 | 80–120 | [7,49] |
| 1S server, single-thread | 30–80 | 100–180 | [49,60] |
| 2S server, full load | 200–400 | 400–750 | [7,61] |
| Original assumption | 150 W (scope unspecified) | — | |
| Operation | Time (s) | CPU Package (34.7 W) mgCO2 | Local System (48.4 W) mgCO2 | S150 Server (150 W) mgCO2 | S150/CPU Ratio |
|---|---|---|---|---|---|
| RSA-2048 keygen | 0.438 | 3.2 | 4.5 | 14.0 | 4.4× |
| Paillier-4096 keygen | 6.833 | 50.8 | 70.8 | 219.1 | 4.3× |
| EC-ElGamal secp256k1 | 0.024 | 0.2 | 0.3 | 0.8 | 4.3× |
| Goldwasser–Micali-2048 | 0.486 | 3.6 | 5.1 | 15.6 | 4.4× |
| Symmetric Key Size | RSA Variants Key Size Equivalent | ECC Key Size Equivalent | Expected Lifetime |
|---|---|---|---|
| 80 | 1024 | 160 | Until 2010 |
| 112 | 2048 | 224 | Until 2030 |
| 128 | 3072 | 256 | Beyond 2030 |
| 192 | 7680 | 384 | Much Beyond 2030 |
| 256 | 15360 | 521 | Much Beyond 2030 |
| Algorithm | Key Size | Key Generation | Encrypt | Decrypt | Homomorphic Operation |
|---|---|---|---|---|---|
| RSA | 1024 | 0.1483 | 0.00305 | 0.0038 | |
| ElGamal | 1024 | 0.0177 | 0.00132 | 0.0007 | |
| Paillier | 1024 | 0.0507 | 0.01162 | 0.0120 | |
| Damgård–Jurik | 1024 | 0.0585 | 0.02356 | 0.0245 | |
| Okamoto–Uchiyama | 1024 | 0.1050 | 0.01148 | 0.0037 | |
| Goldwasser–Micali | 1024 | 0.0400 | 0.00027 | 0.0093 | |
| Exponential-ElGamal | 1024 | 0.0302 | 0.00109 | 3.1553 | |
| EllipticCurve-ElGamal | 160 | 0.0053 | 0.01010 | 4.1529 |
| Algorithm | Key Size | Key Generation | Encrypt | Decrypt | Homomorphic Operation |
|---|---|---|---|---|---|
| RSA | 2048 | 1.4959 | 0.0215 | 0.0235 | |
| ElGamal | 2048 | 0.6238 | 0.00716 | 0.0037 | |
| Paillier | 2048 | 0.7613 | 0.0851 | 0.0847 | |
| Damgård–Jurik | 2048 | 0.6388 | 0.1727 | 0.1997 | |
| Okamoto–Uchiyama | 2048 | 0.7543 | 0.0781 | 0.0239 | |
| Goldwasser–Micali | 2048 | 0.6725 | 0.00067 | 0.0536 | |
| Exponential-ElGamal | 2048 | 0.3957 | 0.00695 | 10.572 | |
| EllipticCurve-ElGamal | 224 | 0.0060 | 0.00862 | 3.6356 |
| Algorithm | Key Size | Key Generation | Encrypt | Decrypt | Homomorphic Operation |
|---|---|---|---|---|---|
| RSA | 3072 | 5.8871 | 0.0886 | 0.1201 | |
| ElGamal | 3072 | 1.5976 | 0.0253 | 0.0120 | |
| Paillier | 3072 | 2.5762 | 0.3211 | 0.3188 | |
| Damgård–Jurik | 3072 | 3.0325 | 0.6973 | 0.6809 | |
| Okamoto–Uchiyama | 3072 | 2.7635 | 0.2815 | 0.0881 | |
| Goldwasser–Micali | 3072 | 3.6569 | 0.0011 | 0.4216 | |
| Exponential-ElGamal | 3072 | 1.6232 | 0.0214 | 23.171 | |
| EllipticCurve-ElGamal | 256 | 0.0086 | 0.0119 | 4.3759 |
| Algorithm | Key Size | Key Generation | Encrypt | Decrypt | Homomorphic Operation |
|---|---|---|---|---|---|
| RSA | 7680 | 370.568 | 0.8109 | 0.9861 | |
| ElGamal | 7680 | 22.1267 | 0.2702 | 0.1383 | |
| Paillier | 7680 | 71.0874 | 3.9756 | 4.0049 | |
| Damgård–Jurik | 7680 | 110.567 | 8.0903 | 8.1464 | |
| Okamoto–Uchiyama | 7680 | 84.0547 | 3.8247 | 1.1667 | |
| Goldwasser–Micali | 7680 | 78.9467 | 0.00583 | 4.1952 | |
| Exponential-ElGamal | 7680 | 49.9941 | 0.2669 | 117.68 | |
| EllipticCurve-ElGamal | 384 | 0.01000 | 0.00717 | 3.5553 |
| Label | Host CPU | Idle Accelerator | System RAM | Provider |
|---|---|---|---|---|
| Colab-CPU | Intel Xeon ∼2.2 GHz, 2 vCPU | None | ∼13 GB | Google Colab |
| Colab-A100 | Intel Xeon ∼2.2 GHz, 2 vCPU | A100 (idle) | ∼40 GB | Google Colab |
| Colab-TPU2 | Intel Xeon ∼2.2 GHz, 2 vCPU | TPU v2 (idle) | ∼16 GB | Google Colab |
| Colab-L4 | Intel Xeon ∼2.2 GHz, 2 vCPU | L4 (idle) | ∼24 GB | Google Colab |
| Colab-T4 | Intel Xeon ∼2.2 GHz, 2 vCPU | T4 (idle) | ∼32 GB | Google Colab |
| Azure Spark | Varies by cluster | None | Varies | Microsoft Azure |
| Algorithm | Key Size | Operation | Duration (s) | Energy (Wh) | CO2 (mgCO2) | Wh/Security-Bit |
|---|---|---|---|---|---|---|
| RSA | 3072 | Key Gen | 9.261 | 0.4765 | 400.29 | 0.003723 |
| RSA | 3072 | Encrypt | 0.080 | 0.0037 | 3.09 | 0.000029 |
| RSA | 3072 | Decrypt | 0.093 | 0.0043 | 3.59 | 0.000033 |
| Paillier | 3072 | Key Gen | 3.487 | 0.1794 | 150.73 | 0.001402 |
| Paillier | 3072 | Encrypt | 0.333 | 0.0154 | 12.89 | 0.000120 |
| Paillier | 3072 | Decrypt | 0.336 | 0.0155 | 12.99 | 0.000121 |
| EC-ElGamal | 256 | Key Gen | 0.012 | 0.0006 | 0.53 | 0.000005 |
| EC-ElGamal | 256 | Encrypt | 0.012 | 0.0006 | 0.47 | 0.000004 |
| EC-ElGamal | 256 | Decrypt | 5.887 | 0.2711 | 227.69 | 0.002118 |
| Exp-ElGamal | 3072 | Key Gen | 1.696 | 0.0873 | 73.30 | 0.000682 |
| Exp-ElGamal | 3072 | Encrypt | 0.027 | 0.0012 | 1.03 | 0.000010 |
| Exp-ElGamal | 3072 | Decrypt | 28.011 | 1.2897 | 1083.31 | 0.010075 |
| Data Center | Algorithm | Key Size | Op. | Dur. (s) | Energy (Wh) | Sc.1 (mgCO2) | Sc.2 (mgCO2) | Sc.3 (mgCO2) | Total (mgCO2) |
|---|---|---|---|---|---|---|---|---|---|
| DC1 | RSA | 1024 | KG | 0.2274 | 0.0117 | 0.35 | 7.02 | 2.46 | 9.83 |
| DC1 | RSA | 1024 | E | 0.004 | 0.000186 | 0.01 | 0.11 | 0.04 | 0.16 |
| DC1 | RSA | 1024 | D | 0.0045 | 0.000209 | 0.01 | 0.13 | 0.04 | 0.18 |
| DC1 | RSA | 1024 | H | 0 | 0 | 0 | 0 | 0 | 0 |
| DC1 | ElGamal | 1024 | KG | 0.0275 | 0.001417 | 0.04 | 0.85 | 0.3 | 1.19 |
| DC1 | ElGamal | 1024 | E | 0.0015 | 0.000071 | 0 | 0.04 | 0.01 | 0.06 |
| DC1 | ElGamal | 1024 | D | 0.0009 | 0.00004 | 0 | 0.02 | 0.01 | 0.03 |
| DC1 | ElGamal | 1024 | H | 0 | 0 | 0 | 0 | 0 | 0 |
| DC1 | Paillier | 1024 | KG | 0.0439 | 0.002259 | 0.07 | 1.36 | 0.47 | 1.9 |
| DC1 | Paillier | 1024 | E | 0.0149 | 0.000686 | 0.02 | 0.41 | 0.14 | 0.58 |
| DC1 | Paillier | 1024 | D | 0.0151 | 0.000695 | 0.02 | 0.42 | 0.15 | 0.58 |
| DC1 | Paillier | 1024 | H | 0 | 0.000001 | 0 | 0 | 0 | 0 |
| DC1 | Damgård–Jurik | 1024 | KG | 0.0654 | 0.003365 | 0.1 | 2.02 | 0.71 | 2.83 |
| DC1 | Damgård–Jurik | 1024 | E | 0.0314 | 0.001445 | 0.04 | 0.87 | 0.3 | 1.21 |
| DC1 | Damgård–Jurik | 1024 | D | 0.0315 | 0.001452 | 0.04 | 0.87 | 0.3 | 1.22 |
| DC1 | Damgård–Jurik | 1024 | H | 0 | 0.000002 | 0 | 0 | 0 | 0 |
| DC1 | Okamoto–Uchiyama | 1024 | KG | 0.076 | 0.003909 | 0.12 | 2.35 | 0.82 | 3.28 |
| DC1 | Okamoto–Uchiyama | 1024 | E | 0.0139 | 0.000641 | 0.02 | 0.38 | 0.13 | 0.54 |
| DC1 | Okamoto–Uchiyama | 1024 | D | 0.0047 | 0.000218 | 0.01 | 0.13 | 0.05 | 0.18 |
| DC1 | Okamoto–Uchiyama | 1024 | H | 0 | 0.000001 | 0 | 0 | 0 | 0 |
| DC1 | Goldwasser–Micali | 1024 | KG | 0.1013 | 0.005211 | 0.16 | 3.13 | 1.09 | 4.38 |
| DC1 | Goldwasser–Micali | 1024 | E | 0.0004 | 0.00002 | 0 | 0.01 | 0 | 0.02 |
| DC1 | Goldwasser–Micali | 1024 | D | 0.0228 | 0.001052 | 0.03 | 0.63 | 0.22 | 0.88 |
| DC1 | Goldwasser–Micali | 1024 | H | 0.0001 | 0.000003 | 0 | 0 | 0 | 0 |
| DC1 | Exponential-ElGamal | 1024 | KG | 0.0158 | 0.000811 | 0.02 | 0.49 | 0.17 | 0.68 |
| DC1 | Exponential-ElGamal | 1024 | E | 0.0016 | 0.000074 | 0 | 0.04 | 0.02 | 0.06 |
| DC1 | Exponential-ElGamal | 1024 | D | 4.6008 | 0.21183 | 6.35 | 127.1 | 44.48 | 177.94 |
| DC1 | Exponential-ElGamal | 1024 | H | 0 | 0 | 0 | 0 | 0 | 0 |
| DC1 | EllipticCurve-ElGamal | 160 | KG | 0.0075 | 0.000388 | 0.01 | 0.23 | 0.08 | 0.33 |
| DC1 | EllipticCurve-ElGamal | 160 | E | 0.0132 | 0.000609 | 0.02 | 0.37 | 0.13 | 0.51 |
| DC1 | EllipticCurve-ElGamal | 160 | D | 6.0519 | 0.27864 | 8.36 | 167.18 | 58.51 | 234.06 |
| DC1 | EllipticCurve-ElGamal | 160 | H | 0.0001 | 0.000003 | 0 | 0 | 0 | 0 |
| DC4 | RSA | 1024 | KG | 0.0996 | 0.004336 | 0 | 0 | 0.15 | 0.15 |
| DC4 | RSA | 1024 | E | 0.0041 | 0.000159 | 0 | 0 | 0.01 | 0.01 |
| DC4 | RSA | 1024 | D | 0.0046 | 0.000178 | 0 | 0 | 0.01 | 0.01 |
| DC4 | RSA | 1024 | H | 0 | 0 | 0 | 0 | 0 | 0 |
| DC4 | ElGamal | 1024 | KG | 0.0464 | 0.002021 | 0 | 0 | 0.07 | 0.07 |
| DC4 | ElGamal | 1024 | E | 0.0016 | 0.000062 | 0 | 0 | 0 | 0 |
| DC4 | ElGamal | 1024 | D | 0.0009 | 0.000034 | 0 | 0 | 0 | 0 |
| DC4 | ElGamal | 1024 | H | 0 | 0 | 0 | 0 | 0 | 0 |
| DC4 | Paillier | 1024 | KG | 0.0755 | 0.003289 | 0 | 0 | 0.12 | 0.12 |
| DC4 | Paillier | 1024 | E | 0.0151 | 0.000588 | 0 | 0 | 0.02 | 0.02 |
| DC4 | Paillier | 1024 | D | 0.0152 | 0.000592 | 0 | 0 | 0.02 | 0.02 |
| DC4 | Paillier | 1024 | H | 0 | 0.000001 | 0 | 0 | 0 | 0 |
| DC4 | Damgård–Jurik | 1024 | KG | 0.0629 | 0.002738 | 0 | 0 | 0.1 | 0.1 |
| DC4 | Damgård–Jurik | 1024 | E | 0.0317 | 0.001234 | 0 | 0 | 0.04 | 0.04 |
| DC4 | Damgård–Jurik | 1024 | D | 0.0317 | 0.001237 | 0 | 0 | 0.04 | 0.04 |
| DC4 | Damgård–Jurik | 1024 | H | 0 | 0.000001 | 0 | 0 | 0 | 0 |
| DC4 | Okamoto–Uchiyama | 1024 | KG | 0.0762 | 0.00332 | 0 | 0 | 0.12 | 0.12 |
| DC4 | Okamoto–Uchiyama | 1024 | E | 0.0139 | 0.000541 | 0 | 0 | 0.02 | 0.02 |
| DC4 | Okamoto–Uchiyama | 1024 | D | 0.0046 | 0.00018 | 0 | 0 | 0.01 | 0.01 |
| DC4 | Okamoto–Uchiyama | 1024 | H | 0 | 0 | 0 | 0 | 0 | 0 |
| DC4 | Goldwasser–Micali | 1024 | KG | 0.086 | 0.003746 | 0 | 0 | 0.13 | 0.13 |
| DC4 | Goldwasser–Micali | 1024 | E | 0.0004 | 0.000017 | 0 | 0 | 0 | 0 |
| DC4 | Goldwasser–Micali | 1024 | D | 0.024 | 0.000937 | 0 | 0 | 0.03 | 0.03 |
| DC4 | Goldwasser–Micali | 1024 | H | 0.0001 | 0.000003 | 0 | 0 | 0 | 0 |
| DC4 | Exponential-ElGamal | 1024 | KG | 0.0267 | 0.001162 | 0 | 0 | 0.04 | 0.04 |
| DC4 | Exponential-ElGamal | 1024 | E | 0.0017 | 0.000065 | 0 | 0 | 0 | 0 |
| DC4 | Exponential-ElGamal | 1024 | D | 4.6526 | 0.181258 | 0 | 0 | 6.34 | 6.34 |
| DC4 | Exponential-ElGamal | 1024 | H | 0 | 0 | 0 | 0 | 0 | 0 |
| DC4 | EllipticCurve-ElGamal | 160 | KG | 0.0071 | 0.000309 | 0 | 0 | 0.01 | 0.01 |
| DC4 | EllipticCurve-ElGamal | 160 | E | 0.0122 | 0.000476 | 0 | 0 | 0.02 | 0.02 |
| DC4 | EllipticCurve-ElGamal | 160 | D | 5.9941 | 0.233522 | 0 | 0 | 8.17 | 8.17 |
| DC4 | EllipticCurve-ElGamal | 160 | H | 0.0001 | 0.000002 | 0 | 0 | 0 | 0 |
| DC7 | RSA | 1024 | KG | 0.2148 | 0.011051 | 0.07 | 1.33 | 1.16 | 2.55 |
| DC7 | RSA | 1024 | E | 0.004 | 0.000186 | 0 | 0.02 | 0.02 | 0.04 |
| DC7 | RSA | 1024 | D | 0.0046 | 0.00021 | 0 | 0.03 | 0.02 | 0.05 |
| DC7 | RSA | 1024 | H | 0 | 0 | 0 | 0 | 0 | 0 |
| DC7 | ElGamal | 1024 | KG | 0.0535 | 0.002751 | 0.02 | 0.33 | 0.29 | 0.64 |
| DC7 | ElGamal | 1024 | E | 0.0015 | 0.000071 | 0 | 0.01 | 0.01 | 0.02 |
| DC7 | ElGamal | 1024 | D | 0.0008 | 0.000039 | 0 | 0 | 0 | 0.01 |
| DC7 | ElGamal | 1024 | H | 0 | 0 | 0 | 0 | 0 | 0 |
| DC7 | Paillier | 1024 | KG | 0.0936 | 0.004818 | 0.03 | 0.58 | 0.51 | 1.11 |
| DC7 | Paillier | 1024 | E | 0.0152 | 0.000698 | 0 | 0.08 | 0.07 | 0.16 |
| DC7 | Paillier | 1024 | D | 0.0152 | 0.000702 | 0 | 0.08 | 0.07 | 0.16 |
| DC7 | Paillier | 1024 | H | 0 | 0.000001 | 0 | 0 | 0 | 0 |
| DC7 | Damgård–Jurik | 1024 | KG | 0.0598 | 0.003079 | 0.02 | 0.37 | 0.32 | 0.71 |
| DC7 | Damgård–Jurik | 1024 | E | 0.0312 | 0.001437 | 0.01 | 0.17 | 0.15 | 0.33 |
| DC7 | Damgård–Jurik | 1024 | D | 0.0314 | 0.001446 | 0.01 | 0.17 | 0.15 | 0.33 |
| DC7 | Damgård–Jurik | 1024 | H | 0 | 0.000002 | 0 | 0 | 0 | 0 |
| DC7 | Okamoto–Uchiyama | 1024 | KG | 0.112 | 0.005763 | 0.03 | 0.69 | 0.61 | 1.33 |
| DC7 | Okamoto–Uchiyama | 1024 | E | 0.0139 | 0.00064 | 0 | 0.08 | 0.07 | 0.15 |
| DC7 | Okamoto–Uchiyama | 1024 | D | 0.0047 | 0.000215 | 0 | 0.03 | 0.02 | 0.05 |
| DC7 | Okamoto–Uchiyama | 1024 | H | 0 | 0 | 0 | 0 | 0 | 0 |
| DC7 | Goldwasser–Micali | 1024 | KG | 0.0985 | 0.00507 | 0.03 | 0.61 | 0.53 | 1.17 |
| DC7 | Goldwasser–Micali | 1024 | E | 0.0004 | 0.000019 | 0 | 0 | 0 | 0 |
| DC7 | Goldwasser–Micali | 1024 | D | 0.0234 | 0.001079 | 0.01 | 0.13 | 0.11 | 0.25 |
| DC7 | Goldwasser–Micali | 1024 | H | 0.0001 | 0.000003 | 0 | 0 | 0 | 0 |
| DC7 | Exponential-ElGamal | 1024 | KG | 0.0726 | 0.003735 | 0.02 | 0.45 | 0.39 | 0.86 |
| DC7 | Exponential-ElGamal | 1024 | E | 0.0016 | 0.000073 | 0 | 0.01 | 0.01 | 0.02 |
| DC7 | Exponential-ElGamal | 1024 | D | 4.5853 | 0.211113 | 1.27 | 25.33 | 22.17 | 48.77 |
| DC7 | Exponential-ElGamal | 1024 | H | 0 | 0 | 0 | 0 | 0 | 0 |
| DC7 | EllipticCurve-ElGamal | 160 | KG | 0.0072 | 0.000372 | 0 | 0.04 | 0.04 | 0.09 |
| DC7 | EllipticCurve-ElGamal | 160 | E | 0.0119 | 0.000547 | 0 | 0.07 | 0.06 | 0.13 |
| DC7 | EllipticCurve-ElGamal | 160 | D | 5.893 | 0.271324 | 1.63 | 32.56 | 28.49 | 62.68 |
| DC7 | EllipticCurve-ElGamal | 160 | H | 0.0001 | 0.000003 | 0 | 0 | 0 | 0 |
| Data Center | Algorithm | Key Size | Op. | Dur. (s) | Energy (Wh) | Sc.1 (mgCO2) | Sc.2 (mgCO2) | Sc.3 (mgCO2) | Total (mgCO2) |
|---|---|---|---|---|---|---|---|---|---|
| DC1 | RSA | 3072 | KG | 9.2605 | 0.47653 | 14.3 | 285.92 | 100.07 | 400.29 |
| DC1 | RSA | 3072 | E | 0.08 | 0.003684 | 0.11 | 2.21 | 0.77 | 3.09 |
| DC1 | RSA | 3072 | D | 0.0929 | 0.004277 | 0.13 | 2.57 | 0.9 | 3.59 |
| DC1 | RSA | 3072 | H | 0 | 0.000001 | 0 | 0 | 0 | 0 |
| DC1 | ElGamal | 3072 | KG | 0.7856 | 0.040426 | 1.21 | 24.26 | 8.49 | 33.96 |
| DC1 | ElGamal | 3072 | E | 0.0271 | 0.001247 | 0.04 | 0.75 | 0.26 | 1.05 |
| DC1 | ElGamal | 3072 | D | 0.0139 | 0.00064 | 0.02 | 0.38 | 0.13 | 0.54 |
| DC1 | ElGamal | 3072 | H | 0 | 0.000001 | 0 | 0 | 0 | 0 |
| DC1 | Paillier | 3072 | KG | 3.4871 | 0.17944 | 5.38 | 107.66 | 37.68 | 150.73 |
| DC1 | Paillier | 3072 | E | 0.3333 | 0.015346 | 0.46 | 9.21 | 3.22 | 12.89 |
| DC1 | Paillier | 3072 | D | 0.336 | 0.01547 | 0.46 | 9.28 | 3.25 | 12.99 |
| DC1 | Paillier | 3072 | H | 0.0001 | 0.000005 | 0 | 0 | 0 | 0 |
| DC1 | Damgård–Jurik | 3072 | KG | 2.0441 | 0.105186 | 3.16 | 63.11 | 22.09 | 88.36 |
| DC1 | Damgård–Jurik | 3072 | E | 0.7094 | 0.032662 | 0.98 | 19.6 | 6.86 | 27.44 |
| DC1 | Damgård–Jurik | 3072 | D | 0.7171 | 0.033016 | 0.99 | 19.81 | 6.93 | 27.73 |
| DC1 | Damgård–Jurik | 3072 | H | 0.0003 | 0.00001 | 0 | 0.01 | 0 | 0.01 |
| DC1 | Okamoto–Uchiyama | 3072 | KG | 1.6661 | 0.085735 | 2.57 | 51.44 | 18 | 72.02 |
| DC1 | Okamoto–Uchiyama | 3072 | E | 0.295 | 0.013581 | 0.41 | 8.15 | 2.85 | 11.41 |
| DC1 | Okamoto–Uchiyama | 3072 | D | 0.095 | 0.004374 | 0.13 | 2.62 | 0.92 | 3.67 |
| DC1 | Okamoto–Uchiyama | 3072 | H | 0.0001 | 0.000003 | 0 | 0 | 0 | 0 |
| DC1 | Goldwasser–Micali | 3072 | KG | 8.5208 | 0.438466 | 13.15 | 263.08 | 92.08 | 368.31 |
| DC1 | Goldwasser–Micali | 3072 | E | 0.0017 | 0.000078 | 0 | 0.05 | 0.02 | 0.07 |
| DC1 | Goldwasser–Micali | 3072 | D | 0.4077 | 0.018771 | 0.56 | 11.26 | 3.94 | 15.77 |
| DC1 | Goldwasser–Micali | 3072 | H | 0.0005 | 0.00002 | 0 | 0.01 | 0 | 0.02 |
| DC1 | Exponential-ElGamal | 3072 | KG | 1.6957 | 0.087258 | 2.62 | 52.35 | 18.32 | 73.3 |
| DC1 | Exponential-ElGamal | 3072 | E | 0.0267 | 0.001231 | 0.04 | 0.74 | 0.26 | 1.03 |
| DC1 | Exponential-ElGamal | 3072 | D | 28.0105 | 1.28965 | 38.69 | 773.79 | 270.83 | 1083.31 |
| DC1 | Exponential-ElGamal | 3072 | H | 0 | 0.000001 | 0 | 0 | 0 | 0 |
| DC1 | EllipticCurve-ElGamal | 256 | KG | 0.0122 | 0.000628 | 0.02 | 0.38 | 0.13 | 0.53 |
| DC1 | EllipticCurve-ElGamal | 256 | E | 0.0122 | 0.00056 | 0.02 | 0.34 | 0.12 | 0.47 |
| DC1 | EllipticCurve-ElGamal | 256 | D | 5.8872 | 0.271057 | 8.13 | 162.63 | 56.92 | 227.69 |
| DC1 | EllipticCurve-ElGamal | 256 | H | 0.0001 | 0.000003 | 0 | 0 | 0 | 0 |
| DC4 | RSA | 3072 | KG | 3.8942 | 0.16956 | 0 | 0 | 5.93 | 5.93 |
| DC4 | RSA | 3072 | E | 0.0808 | 0.003149 | 0 | 0 | 0.11 | 0.11 |
| DC4 | RSA | 3072 | D | 0.0934 | 0.003639 | 0 | 0 | 0.13 | 0.13 |
| DC4 | RSA | 3072 | H | 0 | 0.000001 | 0 | 0 | 0 | 0 |
| DC4 | ElGamal | 3072 | KG | 0.1506 | 0.006557 | 0 | 0 | 0.23 | 0.23 |
| DC4 | ElGamal | 3072 | E | 0.0268 | 0.001042 | 0 | 0 | 0.04 | 0.04 |
| DC4 | ElGamal | 3072 | D | 0.0137 | 0.000534 | 0 | 0 | 0.02 | 0.02 |
| DC4 | ElGamal | 3072 | H | 0 | 0.000001 | 0 | 0 | 0 | 0 |
| DC4 | Paillier | 3072 | KG | 1.3062 | 0.056874 | 0 | 0 | 1.99 | 1.99 |
| DC4 | Paillier | 3072 | E | 0.3308 | 0.012889 | 0 | 0 | 0.45 | 0.45 |
| DC4 | Paillier | 3072 | D | 0.3319 | 0.01293 | 0 | 0 | 0.45 | 0.45 |
| DC4 | Paillier | 3072 | H | 0.0001 | 0.000004 | 0 | 0 | 0 | 0 |
| DC4 | Damgård–Jurik | 3072 | KG | 4.0465 | 0.176191 | 0 | 0 | 6.17 | 6.17 |
| DC4 | Damgård–Jurik | 3072 | E | 0.7067 | 0.027533 | 0 | 0 | 0.96 | 0.96 |
| DC4 | Damgård–Jurik | 3072 | D | 0.7098 | 0.027653 | 0 | 0 | 0.97 | 0.97 |
| DC4 | Damgård–Jurik | 3072 | H | 0.0003 | 0.000009 | 0 | 0 | 0 | 0 |
| DC4 | Okamoto–Uchiyama | 3072 | KG | 1.8452 | 0.080343 | 0 | 0 | 2.81 | 2.81 |
| DC4 | Okamoto–Uchiyama | 3072 | E | 0.2959 | 0.011529 | 0 | 0 | 0.4 | 0.4 |
| DC4 | Okamoto–Uchiyama | 3072 | D | 0.0951 | 0.003705 | 0 | 0 | 0.13 | 0.13 |
| DC4 | Okamoto–Uchiyama | 3072 | H | 0.0001 | 0.000002 | 0 | 0 | 0 | 0 |
| DC4 | Goldwasser–Micali | 3072 | KG | 3.9703 | 0.172873 | 0 | 0 | 6.05 | 6.05 |
| DC4 | Goldwasser–Micali | 3072 | E | 0.0017 | 0.000065 | 0 | 0 | 0 | 0 |
| DC4 | Goldwasser–Micali | 3072 | D | 0.4082 | 0.015903 | 0 | 0 | 0.56 | 0.56 |
| DC4 | Goldwasser–Micali | 3072 | H | 0.0005 | 0.000017 | 0 | 0 | 0 | 0 |
| DC4 | Exponential-ElGamal | 3072 | KG | 0.6002 | 0.026134 | 0 | 0 | 0.91 | 0.91 |
| DC4 | Exponential-ElGamal | 3072 | E | 0.0268 | 0.001045 | 0 | 0 | 0.04 | 0.04 |
| DC4 | Exponential-ElGamal | 3072 | D | 27.782 | 1.08234 | 0 | 0 | 37.88 | 37.88 |
| DC4 | Exponential-ElGamal | 3072 | H | 0 | 0.000001 | 0 | 0 | 0 | 0 |
| DC4 | EllipticCurve-ElGamal | 256 | KG | 0.0117 | 0.000509 | 0 | 0 | 0.02 | 0.02 |
| DC4 | EllipticCurve-ElGamal | 256 | E | 0.012 | 0.000469 | 0 | 0 | 0.02 | 0.02 |
| DC4 | EllipticCurve-ElGamal | 256 | D | 5.6162 | 0.218798 | 0 | 0 | 7.66 | 7.66 |
| DC4 | EllipticCurve-ElGamal | 256 | H | 0.0001 | 0.000002 | 0 | 0 | 0 | 0 |
| DC7 | RSA | 3072 | KG | 14.6075 | 0.751678 | 4.51 | 90.2 | 78.93 | 173.64 |
| DC7 | RSA | 3072 | E | 0.0802 | 0.003693 | 0.02 | 0.44 | 0.39 | 0.85 |
| DC7 | RSA | 3072 | D | 0.0934 | 0.0043 | 0.03 | 0.52 | 0.45 | 0.99 |
| DC7 | RSA | 3072 | H | 0 | 0.000001 | 0 | 0 | 0 | 0 |
| DC7 | ElGamal | 3072 | KG | 0.9031 | 0.046472 | 0.28 | 5.58 | 4.88 | 10.74 |
| DC7 | ElGamal | 3072 | E | 0.028 | 0.001289 | 0.01 | 0.15 | 0.14 | 0.3 |
| DC7 | ElGamal | 3072 | D | 0.0142 | 0.000654 | 0 | 0.08 | 0.07 | 0.15 |
| DC7 | ElGamal | 3072 | H | 0 | 0.000001 | 0 | 0 | 0 | 0 |
| DC7 | Paillier | 3072 | KG | 3.0224 | 0.155528 | 0.93 | 18.66 | 16.33 | 35.93 |
| DC7 | Paillier | 3072 | E | 0.3288 | 0.015137 | 0.09 | 1.82 | 1.59 | 3.5 |
| DC7 | Paillier | 3072 | D | 0.3311 | 0.015244 | 0.09 | 1.83 | 1.6 | 3.52 |
| DC7 | Paillier | 3072 | H | 0.0001 | 0.000005 | 0 | 0 | 0 | 0 |
| DC7 | Damgård–Jurik | 3072 | KG | 4.9993 | 0.257256 | 1.54 | 30.87 | 27.01 | 59.43 |
| DC7 | Damgård–Jurik | 3072 | E | 0.7044 | 0.032433 | 0.19 | 3.89 | 3.41 | 7.49 |
| DC7 | Damgård–Jurik | 3072 | D | 0.7052 | 0.032469 | 0.19 | 3.9 | 3.41 | 7.5 |
| DC7 | Damgård–Jurik | 3072 | H | 0.0003 | 0.00001 | 0 | 0 | 0 | 0 |
| DC7 | Okamoto–Uchiyama | 3072 | KG | 4.7143 | 0.24259 | 1.46 | 29.11 | 25.47 | 56.04 |
| DC7 | Okamoto–Uchiyama | 3072 | E | 0.2963 | 0.013641 | 0.08 | 1.64 | 1.43 | 3.15 |
| DC7 | Okamoto–Uchiyama | 3072 | D | 0.0957 | 0.004406 | 0.03 | 0.53 | 0.46 | 1.02 |
| DC7 | Okamoto–Uchiyama | 3072 | H | 0.0001 | 0.000002 | 0 | 0 | 0 | 0 |
| DC7 | Goldwasser–Micali | 3072 | KG | 2.6347 | 0.135577 | 0.81 | 16.27 | 14.24 | 31.32 |
| DC7 | Goldwasser–Micali | 3072 | E | 0.0017 | 0.000078 | 0 | 0.01 | 0.01 | 0.02 |
| DC7 | Goldwasser–Micali | 3072 | D | 0.4171 | 0.019204 | 0.12 | 2.3 | 2.02 | 4.44 |
| DC7 | Goldwasser–Micali | 3072 | H | 0.0005 | 0.00002 | 0 | 0 | 0 | 0 |
| DC7 | Exponential-ElGamal | 3072 | KG | 3.5652 | 0.183459 | 1.1 | 22.02 | 19.26 | 42.38 |
| DC7 | Exponential-ElGamal | 3072 | E | 0.0271 | 0.001247 | 0.01 | 0.15 | 0.13 | 0.29 |
| DC7 | Exponential-ElGamal | 3072 | D | 28.0696 | 1.292371 | 7.75 | 155.08 | 135.7 | 298.54 |
| DC7 | Exponential-ElGamal | 3072 | H | 0 | 0.000001 | 0 | 0 | 0 | 0 |
| DC7 | EllipticCurve-ElGamal | 256 | KG | 0.012 | 0.000617 | 0 | 0.07 | 0.06 | 0.14 |
| DC7 | EllipticCurve-ElGamal | 256 | E | 0.0117 | 0.00054 | 0 | 0.06 | 0.06 | 0.12 |
| DC7 | EllipticCurve-ElGamal | 256 | D | 5.674 | 0.26124 | 1.57 | 31.35 | 27.43 | 60.35 |
| DC7 | EllipticCurve-ElGamal | 256 | H | 0.0001 | 0.000003 | 0 | 0 | 0 | 0 |
| Algorithm (Key) | Mean (s) | Std (s) | CV (%) | 95% CI Lower | 95% CI Upper | Min–Max (s) |
|---|---|---|---|---|---|---|
| RSA (512) | 0.017 | 0.071 | 424.0 | −0.010 | 0.043 | 0.002–0.393 |
| RSA (1024) | 0.036 | 0.026 | 71.0 | 0.027 | 0.046 | 0.002–0.133 |
| RSA (2048) | 0.438 | 0.310 | 70.8 | 0.322 | 0.554 | 0.054–1.295 |
| RSA (4096) | 5.210 | 5.186 | 99.5 | 3.273 | 7.146 | 0.335–20.71 |
| Paillier (4096) | 6.833 | 4.190 | 61.3 | 5.268 | 8.397 | 1.020–17.83 |
| EC-ElGamal (ed25519) | 0.041 | 0.002 | 4.2 | 0.040 | 0.041 | 0.038–0.045 |
| EC-ElGamal (secp256k1) | 0.024 | 0.001 | 4.2 | 0.023 | 0.024 | 0.022–0.026 |
| Security Level | Algorithm | Key Size | Mean Time (s) | Total gCO2 () |
|---|---|---|---|---|
| 112-bit | RSA | 2048 | 0.438 | 2.74 |
| 112-bit | EC-ElGamal (P-224) | 224 | 0.006 | 0.04 |
| 128-bit | RSA | 3072 | ∼1.49 * | ∼9.31 |
| 128-bit | EC-ElGamal (secp256k1) | 256 | 0.024 | 0.15 |
| Step | RSA (k-Bit Modulus) | EC-ElGamal (ℓ-Bit Field) |
|---|---|---|
| Encryption | with fixed small e | |
| Decryption | ||
| Key generation | , probabilistic prime search | , no prime search |
| Key length at s-bit security | k grows sub-exponentially in s (GNFS) | (Pollard’s rho) |
| Per-operation cost at s-bit security | to |
| Assumed Power (W) | Energy (kWh) | Scopes 1 + 2 (mgCO2) | Total incl. Scope 3 (mgCO2) |
|---|---|---|---|
| 34.7 (measured) | 37.7 | 50.9 | |
| 50 | 54.2 | 73.2 | |
| 80 | 86.6 | 116.9 | |
| 100 | 108.2 | 146.1 | |
| 150 (original) | 162.0 | 218.7 | |
| 200 | 216.3 | 292.0 |
| Workload Requirement | Recommended Algorithm | Rationale | Relative Carbon Cost |
|---|---|---|---|
| Multiplicative homomorphism, classical security | RSA-3072 | Only classical multiplicatively homomorphic scheme in the PHE family evaluated here | High per security bit |
| Additive homomorphism, large plaintext, frequent decryption | Paillier-3072 | Stable decryption at 128-bit security without DLP solving | Moderate |
| Additive homomorphism, ciphertext regeneration support | Damgård–Jurik or Okamoto–Uchiyama | Support regeneration via scalar operations; similar security profile to Paillier | Moderate, slightly above Paillier |
| Additive homomorphism, small plaintext, infrequent decryption | EC-ElGamal (secp256k1) | Smallest keys at equivalent security; decryption requires DLP solving and is practical only for small plaintext spaces | Approximately 1.6% of RSA at 128-bit |
| Bitwise XOR homomorphism | Goldwasser–Micali | Only PHE scheme in this study supporting XOR at the bit level | Higher per bit due to bit-level encryption |
| Carbon-sensitive deployment, any scheme | Chosen algorithm hosted in a renewable-powered data center | Infrastructure carbon intensity dominates total emissions; region choice can shift emissions by roughly 98% at fixed algorithm | Infrastructure-dominated |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Ozpinar, A.; Serengil, S.I. Sustainable Cryptography: Carbon Asymmetry in Partially Homomorphic Encryption in the Cloud. Symmetry 2026, 18, 832. https://doi.org/10.3390/sym18050832
Ozpinar A, Serengil SI. Sustainable Cryptography: Carbon Asymmetry in Partially Homomorphic Encryption in the Cloud. Symmetry. 2026; 18(5):832. https://doi.org/10.3390/sym18050832
Chicago/Turabian StyleOzpinar, Alper, and Sefik Ilkin Serengil. 2026. "Sustainable Cryptography: Carbon Asymmetry in Partially Homomorphic Encryption in the Cloud" Symmetry 18, no. 5: 832. https://doi.org/10.3390/sym18050832
APA StyleOzpinar, A., & Serengil, S. I. (2026). Sustainable Cryptography: Carbon Asymmetry in Partially Homomorphic Encryption in the Cloud. Symmetry, 18(5), 832. https://doi.org/10.3390/sym18050832
