Published 31.12.2023
Keywords
- blockchain,
- homomorphic encryption,
- statistics,
- linear regression,
- ethereum
Copyright (c) 2023 Zeynep Mutlu; Yesem Kurt Peker, Ali Aydın Selçuk (Co-Author)
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Abstract
In this study we propose a blockchain-based architecture that uses smart contracts and homomorphic encryption to allow statistical computations on confidential data by third parties. The use of blockchain provides the much-desired security properties of integrity and fault tolerance and homomorphic encryption preserves the privacy of the data. We present the design, implementation, and testing of our system. Our results show that a blockchain-based data sharing mechanism with homomorphic calculations via a smart contract is feasible and provides improvements in protecting the data from unauthorized users. Even though our work focused on linear regression, the architecture can be used for other statistical analysis and machine learning algorithms.
References
- S. Nakamoto, “Bitcoin: A peer-to-peer electronic cash system,” SSRN Electronic Journal, 2008.
- M. Krichen, M. Ammi, A. Mihoub, and M. Almutiq, “Blockchain for modern applications: A survey,” Sensors, vol. 22, no. 14, p. 5274, 2022.
- G. Hilary, “Blockchain: Security and confidentiality.,” SSRN Electronic Journal, 2018.
- H. Ç. Bozduman and E. Afacan, “Simulation of a homomorphic encryption system,” Applied Mathematics and Nonlinear Sciences, vol. 5, no. 1, pp. 479–484, 2020.
- C. Regueiro, I. Seco, S. de Diego, O. Lage, and L. Etxebarria, “Privacy-enhancing distributed protocol for data aggregation based on blockchain and homomorphic encryption,” Information Processing & Management, vol. 58, no. 6, p. 102745, 2021.
- A. Mitra, B. Bera, A. K. Das, S. S. Jamal, and I. You, “Impact on blockchain-based AI/ML-enabled big data analytics for Cognitive Internet of Things Environment,” Computer Communications, vol. 197, pp. 173–185, 2023.
- F. Loukil, C. Ghedira-Guegan, K. Boukadi, and A.-N. Benharkat, “Privacy-preserving IOT data aggregation based on blockchain and homomorphic encryption,” Sensors, vol. 21, no. 7, p. 2452, 2021.
- B. U. Umar, O. M. Olaniyi, D. O. Olajide, and E. M. Dogo, “Paillier cryptosystem based Chainnode for secure electronic voting,” Frontiers in Blockchain, vol. 5, 2022.
- M. Ghadamyari, "Privacy-Preserving Statistical Analysis of Health Data Using Paillier Homomorphic Encryption and Permissioned Blockchain," Electronic Theses and Dissertations. 8139.
- “Ethereum whitepaper,” ethereum.org. [Online]. Available: https://ethereum.org/en/whitepaper/. [Accessed: 29-Jan-2023].
- T. Sridokmai and S. Prakancharoen, “The homomorphic other property of Paillier cryptosystem,” 2015 International Conference on Science and Technology (TICST), 2015.
- Firoorg, “Firoorg/solidity-bignumber: Full BigNumber library implementation for solidity.,” GitHub. [Online]. Available: https://github.com/firoorg/solidity-BigNumber. [Accessed: 29-Jan-2023].
- Peterolson, “Peterolson/BigInteger.js: An arbitrary length integer library for Javascript,” GitHub. [Online]. Available: https://github.com/peterolson/BigInteger.js. [Accessed: 29-Jan-2023].