Ida Bagus Rizky Brahmantya
Universitas Udayana

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Analisis Perbandingan Algoritma SHA-256 dan Keccak-256 dalam Smart Contract EVM Ida Bagus Rizky Brahmantya; Gst. Ayu Vida Mastrika Giri
Jurnal Nasional Teknologi Informasi dan Aplikasinya Vol. 4 No. 3 (2026): JNATIA Vol. 4, No. 3, Mei 2026
Publisher : Informatics Department, Faculty of Mathematics and Natural Sciences, Udayana University

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.24843/JNATIA.2026.v04.i03.p04

Abstract

The advancement of blockchain technology has increased the demand for efficient and secure hash algorithms, particularly in the development of smart contracts. This study uses smart contracts on the Ethereum network with inputs of 32, 128, and 1024 characters to evaluate SHA-256 and Keccak-256 based on execution cost, gas fees, and security. According to the results, Keccak-256 is more effective for smart contract computations because it consistently has lower execution costs for all input sizes. Both algorithms perform similarly for big inputs (1024 characters), suggesting comparable storage efficiency at scale, even if its gas charge is marginally greater than SHA-256 for tiny inputs (32 and 128 characters). Keccak-256 and SHA-256 both have strong defenses against brute-force assaults. Both provide similar security, while Keccak-256 takes a little longer to calculate. All things considered, Keccak-256 offers better efficiency, which qualifies it for widespread smart contract implementation. Further research is recommended to explore performance in more complex blockchain environments and execution gas and to optimize gasĀ  for practical implementation.