Jurnal Ilmiah Matematika dan Pendidikan Matematika (JMP)
Vol 18 No 1 (2026): Jurnal Ilmiah Matematika dan Pendidikan Matematika (JMP)

PERBANDINGAN ALGORITMA HASH FUNCTION MD5, SHA-1 DAN SHA-256 DALAM MENJAGA INTEGRITAS DATA PADA SISTEM FILE GAMBAR

Welly Dona Permatasari (Unknown)
Qonita Qurrota A’yun (Unknown)
Rafika Husnia Munfa’ati (Unknown)



Article Info

Publish Date
26 Jun 2026

Abstract

Cryptography plays a crucial role in maintaining the integrity of digital data, particularly image files that are susceptible to alteration or mani pulation. This study aims to compare the MD5, SHA-1, and SHA-256 hash algorithms in detecting changes in 30 e-KTM image files in JPG format. Each file was processed using all three algorithms and then tested by altering a single pixel and compressing the file. The parameters analyzed included changes in hash values, hashing processing time, and algorithm sensitivity based on the avalanche effect. The results of the study indicate that all three algorithms were able to detect all changes in the image files. MD5 has the fastest processing time, SHA-1 provides a higher level of security than MD5, while SHA-256 produces the highest avalanche effect and offers the best security level despite requiring a longer processing time. Thus, SHA-256 is the most effective algorithm for maintaining the integrity of image files.

Copyrights © 2026






Journal Info

Abbrev

jmp

Publisher

Subject

Mathematics

Description

JMP is a an open access journal which publishes research articles, reviews, case studies, guest edited thematic issues and short communications/letters in all areas of mathematics, applied mathematics, applied commutative algebra and algebraic geometry, mathematical biology, physics and engineering, ...