STUDY OF THE SPEED OF THE MESSAGE TRANSMISSION METHOD USING OFF-CHAIN DATA PROCESSING TO ENSURE DATA INTEGRITY AND IMMUTABILITY

DOI: 10.31673/2409-7292.2025.032280

Authors

  • В. О. Побережник, (Poberezhnyk V.O.) Information Security Department, Lviv Polytechnic National University
  • І. Р. Опірський, (Opirskyi I.R.) Information Security Department, Lviv Polytechnic National University

DOI:

https://doi.org/10.31673/2409-7292.2025.032280

Abstract

The article is devoted to an empirical study of a message transfer method that uses IPFS as a transit point for data transfer,
blockchain and smart contract as a container for evidence of integrity and immutability, and a transmission channel based on
the WebSocket protocol, which is used to support a communication channel between the parties to the message exchange in
which they exchange not the data themselves, but links to the data. This approach is due to the fact that the use of blockchain
technology alone for message exchange is impractical due to a number of limitations, so such a context requires finding ways
to eliminate these limitations. The mentioned system is developed based on smart contracts that are executed in the Ethereum
test network, the use of the Pinata service for access to IPFS and a local WebSocket server. In addition to the development of
the system itself, the article develops a method for confirming the integrity and immutability of data through the use of data
identifiers generated by IPFS and their processing in the blockchain using a smart contract. Based on the developed method, an
algorithm for transmitting and confirming the integrity and immutability of data is formed. Using the developed and deployed
blockchain node and WebSocket server in the local network and communication with IPFS via Pinata API, a study of the
system's performance was conducted by measuring message propagation delays on the system nodes and the total propagation
time, as well as optimizing the algorithm to speed up the system. One of the positive results is the successful empirical
confirmation of the possibility of using such an approach. An analysis of the weaknesses and strengths of the method was also
conducted, a conclusion was formulated on the possibility of using the proposed method in messaging systems, and directions
for further research were indicated.
Keywords: blockchain, IPFS, WebSocket, decentralization, integrity, immutability, smart contract, Ethereum.

References
1. У Мінʼюсті заявили про масштабний збій у роботі держреєстрів. Суспільне Новини. URL: https://
suspilne.media/906711-u-minusti-zaavili-pro-masstabnij-zbij-u-roboti-derzreestriv/ (дата звернення: 31.08.2025).
2. У Приватбанку стався збій з каналами зв'язку: відбуваються затримки в роботі. Новини України -
останні новини України сьогодні - УНІАН. URL: https: // www.unian.ua/economics/finance/zbiy-v-privatbankustavsya - zbiy - z – kanalami - zv-yazku-banku-vidbuvayutsya-zatrimki-v-roboti-novini-ukrajina-11797827.html (дата
звернення: 31.08.2025).
3. Збій в роботі «Дії», сайту «Нової пошти» і терміналів. De Novo завершила розслідування аварії в датацентрі. Спільнота програмістів | DOU. URL: https://dou.ua/lenta/news/de-novo-named-cause-of-the-accident/ (дата
звернення: 31.08.2025).
4. Gebhart G., Kohno T. Internet censorship in thailand: user practices and potential threats. 2017 IEEE european
symposium on security and privacy (euros&p), м. Paris, 26–28 квіт. 2017 р. 2017. URL: https://doi.org/10.1109
/eurosp.2017.50 (дата звернення: 31.08.2025).
5. Zhang L., Ji Q., Yu F. The security analysis of popular instant messaging applications. 2017 international
conference on computer systems, electronics and control (ICCSEC), м. Dalian, 25–27 груд. 2017 р. 2017. URL:
https://doi.org/10.1109/iccsec.2017.8446863 (дата звернення: 31.08.2025).
6. Blockchain challenges and opportunities: a survey / Z. Zheng та ін. International journal of web and grid
services. 2018. Т. 14, № 4. С. 352. URL: https://doi.org/10.1504/ijwgs.2018.095647 (дата звернення: 31.08.2025).
7. Benet J. IPFS - content addressed, versioned, P2P file system. 2014. (Препринт). URL: https://arxiv.org/abs/
1407.3561 (дата звернення: 31.08.2025).
8. An improved P2P file system scheme based on IPFS and Blockchain / Y. Chen та ін. 2017 IEEE International
Conference on Big Data (Big Data), м. Boston, MA, 11–14 груд. 2017 р. 2017. URL: https://doi.org/10.1109/
bigdata.2017.8258226 (дата звернення: 31.08.2025).
9. Rateb J. Blockchain for the internet of vehicles: a decentralized iot solution for vehicles communication and
payment using ethereum: Дисертація на здобуття ступеня доктора філософії. Париж, Франція, 2021. URL:
https://hal.science/tel-03563633 (дата звернення: 31.08.2025).
10. Secure messaging platform based on blockchain / U. P. Ellewala та ін. 2020 2nd international conference on
advancements in computing (ICAC), м. Malabe, Sri Lanka, 10–11 груд. 2020 р. 2020. URL: https://doi.org/ 10.1109/
icac51239.2020.9357306 (дата звернення: 31.08.2025).
11. Побережник В., Опірський І. Розробка концепції методу використання технології блокчейн для
побудови системи обміну повідомленнями. Захист інформації. 2023. Т. 25, № 2. С. 62–70. URL: https://doi.org/10.
18372/2410-7840.25.17673 (дата звернення: 31.08.2025).
12. Balatska V., Рoberezhnyk V., Opirskyy I. Use of non-fungible tokens and blockchain to demarcate access to
public registries. Cybersecurity: education, science, technique. 2024. Т. 4, № 24. С. 99–114. URL: https://doi.org/10.
28925/2663-4023.2024.24.99114 (дата звернення: 31.08.2025).
13. Balatska V., Poberezhnyk V. The concept of applying blockchain technologies to increase the security of
personal data of the “diya” platform: compliance with the requirements of the gdpr and ukrainian legislation.
Cybersecurity: education, science, technique. 2024. Т. 2, № 26. С. 268–290. URL: https://doi.org/10.28925/2663-4023.
2024.26.681 (дата звернення: 31.08.2025).
14. Turner S., Chen L. Updated security considerations for the MD5 message-digest and the HMAC-MD5
algorithms. RFC Editor, 2011. URL: https://doi.org/10.17487/rfc6151 (дата звернення: 31.08.2025).
15. Wang X., Yin Y. L., Yu H. Finding collisions in the full SHA-1. Advances in cryptology – CRYPTO 2005.
Berlin, Heidelberg, 2005. С. 17–36. URL: https://doi.org/10.1007/11535218_2 (дата звернення: 31.08.2025).
16. Content Identifiers (CIDs) | IPFS Docs. IPFS Documentation | IPFS Docs. URL: https://docs.ipfs.tech/
concepts/content-addressing/#what-is-a-cid (дата звернення: 31.08.2025).
17. Comparative review of selected internet communication protocols / L. Kamiński та ін. Foundations of
computing and decision sciences. 2023. Т. 48, № 1. С. 39–56. URL: https://doi.org/10.2478/fcds-2023-0003 (дата
звернення: 31.08.2025).
18. Ethereum gas and fees: technical overview | ethereum.org. ethereum.org. URL: https://ethereum.org/ en/
developers /docs/gas/ (дата звернення: 31.08.2025).
19. Fastest blockchains by TPS [2025] | chainspect. Chainspect. URL: https://chainspect.app/dashboard?gainers=
false&order=desc&sort=tps (дата звернення: 31.08.2025).

Published

2025-10-26

Issue

Section

Articles