# Comparative Study of Blockchain Hashing Algorithms with a Proposal for HashLEA
## 6 Conclusions  
This study presents HashLEA, a novel lightweight hash algorithm model based on the LEA encryption algorithm. This research began by considering the current literature in this area, paying attention to design principles, performance metrics, and applicability to constrained environments, including IoT and blockchain systems. Prominent algorithms such as Keccak, X11, Quark, Scrypt, and others are analyzed to identify their strengths, such as high levels of security and robustness, as well as their limitations, such as computational inefficiency, high power consumption, or lack of adaptability to resource-constrained devices. This comprehensive analysis provided a solid foundation for the design of the HashLEA algorithm, ensuring that it addresses the identified gaps while leveraging proven techniques from existing models. In summary, the internal structure in HashLEA has been attentively designed to balance performance against security. Extensive performance and security tests were conducted to validate the HashLEA algorithm. The evaluations included frequency distribution analysis, which showed that the input values processed by HashLEA resulted in a uniform and balanced bit distribution in the hash outputs, highlighting the robustness of the algorithm against statistical predictability. Avalanche effect testing revealed a high degree of randomness, with small changes in the input, such as a single bit change, resulting in significant changes in the hash output. Furthermore, HashLEA exhibited strong collision resistance, achieving performance on par with or better than other established algorithms. This ensures that HashLEA minimizes the risk of producing duplicate outputs for different inputs, a critical property for cryptographic applications. In addition to security testing, HashLEA has been compared for efficiency with selected key algorithms in the literature, including variants of the SHA family and other lightweight hash functions. The comparisons showed that HashLEA delivers comparable or better performance in key metrics such as computational efficiency while maintaining its lightweight characteristics. The performance benchmarking showed the efficiency of HashLEA according to different message sizes. The proposed algorithm's low execution time, coupled with its lightweight design, makes it highly suitable for IoT environments and other scenarios where computational resources are limited. Unlike heavyweight cryptographic algorithms, HashLEA offers an optimal balance between speed and resource utilization, making it particularly promising for blockchain applications in constrained environments. Additionally, the performance of the HashLEA algorithm is evaluated on a real hardware platform, specifically the Raspberry Pi 4 (ARM processor), to assess its impact on blockchain-based IoT applications. Both execution time and energy consumption are measured to provide a comprehensive analysis of its efficiency. The tests demonstrated that HashLEA achieves high efficiency, even on low-power, resource-constrained devices. Comparisons with other hash algorithms showed that HashLEA offers faster processing times and lower energy consumption, highlighting its superior computational efficiency for IoT applications. These findings highlight HashLEA as a suitable solution for blockchain-based IoT applications, providing strong performance and security, particularly on devices with limited resources. The results of this study suggest that HashLEA provides a meaningful alternative to lightweight cryptographic solutions by improving the security/performance trade-off. It features both competitive and innovative properties compared with existing hash algorithms, especially for applications requiring strong hashing with minimum computational overhead. Future work will focus on the practical implementation of HashLEA in IoT devices and blockchain systems, beyond Raspberry Pi.