Implementasi Fungsi Hash dalam Kriptografi Modern untuk Enkripsi Data Satu Arah
DOI:
https://doi.org/10.62671/jikum.v1i1.34Keywords:
cryptograph, python, hashlib, fungsi hashAbstract
Cryptography is the science and art used to maintain data privacy. In its development, modern cryptographic
algorithms work by processing data in the form of a series of bits. One important approach in cryptography is the use
of a one-way hash function (one-way hash function), which is able to change data into a fixed representation that
cannot be returned to its original form.
This paper discusses the implementation of hash functions in modern cryptography for the one-way encryption
process. The hashing application is developed using the Python programming language with the hashlib library and a
Tkinter-based GUI interface. This application allows users to enter text, select a hash algorithm such as MD5, SHA1, SHA-256, SHA-512, and HSE, and get the hash results directly. Tests were carried out on several algorithms to
trigger differences in the length and complexity of the results.
The main characteristic of a one-way hash function is that two different messages will always produce different hash
values. The test results show that each algorithm produces a unique hash value for a given input, with varying lengths
depending on the algorithm used. SHA-512 produces the longest hash and is considered the most secure among other
algorithms.
References
A. E. Putra, "Fungsi hash pada kriptografi," Makalah Struktur Diskrit, Institut Teknologi Bandung, 2009.
A. H. Lubis, "Perbandingan algoritma kriptografi hash MD5 dan SHA-1," Seminar Nasional Teknologi Informatika (Semantika), Politeknik Ganesha Medan, 2019.
Mujaddid, S. (2009). Kriptoanalisis pada fungsi hash kriptografi MD5. Makalah, Institut Teknologi Bandung.
Maryanto, B. (2008). Penggunaan fungsi hash satu-arah untuk enkripsi data. Media Informatika, 7(3), 138–146.
Prasetyo, R., & Suryana, A. (2016). Aplikasi pengamanan data dengan teknik algoritma kriptografi AES dan fungsi hash SHA-1 berbasis desktop. Jurnal SISFOKOM, 5(1), 61–65.
Rahim, I., Anwar, N., Widodo, A. M., Juman, K. K., & Setiawan, I. (2023). Komparasi fungsi hash MD5 dan SHA256 dalam keamanan gambar dan teks. Jurnal IKRAITH-Informatika, 7(2), 41–48.
RJP, Rizky MT. Diktak Kuliah Algoritma Kriptografi Modern. Program Studi Ilmu Komputer Universitas Pendidika Indonesia. 2009



