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

  • Welly Dona Permatasari Program Studi Matematika, FMIPA, Universitas Mulawarman, Indonesia
  • Qonita Qurrota A’yun Program Studi Matematika, FMIPA, Universitas Mulawarman, Indonesia
  • Rafika Husnia Munfa’ati Program Studi Matematika, FMIPA, Universitas Mulawarman, Indonesia

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.

Published
2026-06-26
How to Cite
PERMATASARI, Welly Dona; A’YUN, Qonita Qurrota; MUNFA’ATI, Rafika Husnia. PERBANDINGAN ALGORITMA HASH FUNCTION MD5, SHA-1 DAN SHA-256 DALAM MENJAGA INTEGRITAS DATA PADA SISTEM FILE GAMBAR. Jurnal Ilmiah Matematika dan Pendidikan Matematika, [S.l.], v. 18, n. 1, p. 63-74, june 2026. ISSN 2550-0422. Available at: <https://jos.unsoed.ac.id/index.php/jmp/article/view/20749>. Date accessed: 28 june 2026. doi: https://doi.org/10.20884/1.jmp.2026.18.1.20749.

Most read articles by the same author(s)

Obs.: This plugin requires at least one statistics/report plugin to be enabled. If your statistics plugins provide more than one metric then please also select a main metric on the admin's site settings page and/or on the journal manager's settings pages.