ALGORITHMS FOR ENCODING AND DECODING DATA IN A BLOCKCHAIN TRANSACTION

Є. В. Ковальчук · Наука і техніка сьогодні · 2026

The encoding and decoding of data within blockchain transactions constitute a foundational layer of distributed ledger technology, directly governing data integrity, confidentiality, and interoperability across heterogeneous network participants.This study investigates the principal algorithms employed in the serialization, encoding, and cryptographic transformation of transaction payloads in modern blockchain systems, with particular emphasis on Bitcoin, Ethereum, and permissioned ledger architectures such as Hyperledger Fabric.The research provides a structured analysis of binary encoding schemes including Base58Check, RLP (Recursive Length Prefix), and Protocol Buffers, evaluating their efficiency, collision resistance, and suitability for high-throughput distributed environments.Cryptographic hash functionsspecifically SHA-256, Keccak-256, and BLAKE2are examined in the context of transaction identifier generation, Merkle tree construction, and state root computation.The study further explores elliptic curve digital signature algorithms, including ECDSA and EdDSA, as mechanisms for transaction authentication and non-repudiation.Performance benchmarks across encoding schemes reveal substantive trade-offs between compactness, parsing speed, and schema evolution flexibility.The research identifies key vulnerabilities associated with improper encoding practices, including malleability attacks and replay vulnerabilities, and proposes mitigation strategies aligned with current protocol standards.The findings contribute to a consolidated reference framework for protocol designers and blockchain engineers, clarifying how the choice of encoding algorithm influences overall system security and operational efficiency.Future research directions address quantum-resistant signature encoding and cross-chain data format standardization.

Cited by 0 works. doi:10.52058/2786-6025-2026-4(58)-2527-2540 Open-access PDF

Authors