Cargando…
Smart contracts and homomorphic encryption for private P2P energy trading and demand response on blockchain
Blockchain technology offers great value in terms of decentralization, data integrity, transparency, and traceability, however the transactional data is public, and accessible raising concerns about violating privacy regulations. For example, in the peer-to-peer energy trading and demand response us...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Elsevier
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10687045/ https://www.ncbi.nlm.nih.gov/pubmed/38034650 http://dx.doi.org/10.1016/j.heliyon.2023.e22357 |
_version_ | 1785151895775477760 |
---|---|
author | Mitrea, Dan Toderean, Liana Cioara, Tudor Anghel, Ionut Antal, Marcel |
author_facet | Mitrea, Dan Toderean, Liana Cioara, Tudor Anghel, Ionut Antal, Marcel |
author_sort | Mitrea, Dan |
collection | PubMed |
description | Blockchain technology offers great value in terms of decentralization, data integrity, transparency, and traceability, however the transactional data is public, and accessible raising concerns about violating privacy regulations. For example, in the peer-to-peer energy trading and demand response use cases, the data stored in blockchain may allow a third party to infer the load profiles or even identify the behind the meter assets. In this paper, we employ homomorphic techniques to encrypt the energy transactional data stored on the blockchain allowing the smart contracts functions responsible for implementing the business logic of the energy flexibility trading and settlement to perform computations on encrypted data. As computations on smart contracts and public blockchains can be expensive, we have used the lighter version of the Partial Homomorphic Encryption scheme to obfuscate the energy data. To ensure the validity of the smart contracts' functions executed on encrypted data, we leverage on the consensus mechanism of the blockchain network, thus ensuring computation correctness. The solution was validated considering a micro-grid with 12 prosumers that trade their flexibility peer-to-peer (P2P). The results demonstrate the feasibility of maintaining encrypted energy data on the blockchain, executing smart contract functions on encrypted data, and preserving the privacy of computations. As anticipated, the trade-off for better privacy is the gas consumption overhead of the smart contracts’ functions which is higher compared to the non-encrypted case, depending on the length of the public-private keys pair. Nonetheless, our solution exhibits consistent execution times for smart contracts, making it suitable for private networks where gas costs are of minimal concern. |
format | Online Article Text |
id | pubmed-10687045 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Elsevier |
record_format | MEDLINE/PubMed |
spelling | pubmed-106870452023-11-30 Smart contracts and homomorphic encryption for private P2P energy trading and demand response on blockchain Mitrea, Dan Toderean, Liana Cioara, Tudor Anghel, Ionut Antal, Marcel Heliyon Research Article Blockchain technology offers great value in terms of decentralization, data integrity, transparency, and traceability, however the transactional data is public, and accessible raising concerns about violating privacy regulations. For example, in the peer-to-peer energy trading and demand response use cases, the data stored in blockchain may allow a third party to infer the load profiles or even identify the behind the meter assets. In this paper, we employ homomorphic techniques to encrypt the energy transactional data stored on the blockchain allowing the smart contracts functions responsible for implementing the business logic of the energy flexibility trading and settlement to perform computations on encrypted data. As computations on smart contracts and public blockchains can be expensive, we have used the lighter version of the Partial Homomorphic Encryption scheme to obfuscate the energy data. To ensure the validity of the smart contracts' functions executed on encrypted data, we leverage on the consensus mechanism of the blockchain network, thus ensuring computation correctness. The solution was validated considering a micro-grid with 12 prosumers that trade their flexibility peer-to-peer (P2P). The results demonstrate the feasibility of maintaining encrypted energy data on the blockchain, executing smart contract functions on encrypted data, and preserving the privacy of computations. As anticipated, the trade-off for better privacy is the gas consumption overhead of the smart contracts’ functions which is higher compared to the non-encrypted case, depending on the length of the public-private keys pair. Nonetheless, our solution exhibits consistent execution times for smart contracts, making it suitable for private networks where gas costs are of minimal concern. Elsevier 2023-11-17 /pmc/articles/PMC10687045/ /pubmed/38034650 http://dx.doi.org/10.1016/j.heliyon.2023.e22357 Text en © 2023 The Authors https://creativecommons.org/licenses/by-nc-nd/4.0/This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/). |
spellingShingle | Research Article Mitrea, Dan Toderean, Liana Cioara, Tudor Anghel, Ionut Antal, Marcel Smart contracts and homomorphic encryption for private P2P energy trading and demand response on blockchain |
title | Smart contracts and homomorphic encryption for private P2P energy trading and demand response on blockchain |
title_full | Smart contracts and homomorphic encryption for private P2P energy trading and demand response on blockchain |
title_fullStr | Smart contracts and homomorphic encryption for private P2P energy trading and demand response on blockchain |
title_full_unstemmed | Smart contracts and homomorphic encryption for private P2P energy trading and demand response on blockchain |
title_short | Smart contracts and homomorphic encryption for private P2P energy trading and demand response on blockchain |
title_sort | smart contracts and homomorphic encryption for private p2p energy trading and demand response on blockchain |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10687045/ https://www.ncbi.nlm.nih.gov/pubmed/38034650 http://dx.doi.org/10.1016/j.heliyon.2023.e22357 |
work_keys_str_mv | AT mitreadan smartcontractsandhomomorphicencryptionforprivatep2penergytradinganddemandresponseonblockchain AT todereanliana smartcontractsandhomomorphicencryptionforprivatep2penergytradinganddemandresponseonblockchain AT cioaratudor smartcontractsandhomomorphicencryptionforprivatep2penergytradinganddemandresponseonblockchain AT anghelionut smartcontractsandhomomorphicencryptionforprivatep2penergytradinganddemandresponseonblockchain AT antalmarcel smartcontractsandhomomorphicencryptionforprivatep2penergytradinganddemandresponseonblockchain |