DAFTAR GAMBAR
No. Keterangan
Hal. 2.1
Matriks Citra Digital 6
2.2 Contoh Kunci Bujur Sangkar Matriks 5x5 Playfair Cipher
9 2.3
Proses Pengaturan Enkripsi Playfair Cipher 9
2.4 Proses Pengaturan Enkripsi Playfair Cipher
10 2.5
Contoh Potongan Matriks Untuk Komponen Warna Red hasil digitalisasi citra
12 2.6
Potongan Matriks Untuk Komponen Warna Red Hasil Digitalisasi Citra 13
2.7 Potongan Matriks Citra Cipherteks
14 2.8
Contoh Nilai RGB Citra Digital 15
2.9 Nilai RGB Ciphertext
16 2.10 Nilai RGB Plaintext
18 3.1
DFD Level 0 23
3.2 DFD Level 1
24 3.3
DFD Level 2 Proses P.1 26
3.4 DFD Level 2 Proses P.2
27 3.5
DFD Level 2 Proses P.3 29
3.6 DFD Level 2 Proses P.4
30 3.7
Diagram Alir Proses Enkripsi pada metode Playfair Cipher 32
3.8 Potongan Matrik Kunci Metode Playfair
33 3.9
Diagram Alir Proses Deskripsi pada metode Playfair Cipher 34
3.10 Diagram Alir Proses Membangkitkan Kunci pada Metode ElGamal 35
3.11 Dagram Alir Proses Enkripsi pada Metode ElGamal 36
3.12 Dagram Alir Proses Deskripsi pada Metode ElGamal 37
3.13 Rancangan Antarmuka Halaman Utama 39
3.14 Rancangan Antarmuka Menu Enkripsi 40
3.15 Rancangan Antarmuka Menu Deskripsi 43
4.1 Tampilan Utama
45 4.2
Tampilan Menu Enkripsi 47
4.3 Tampilan Menu Dekripsi
48 4.4
Tampilan Hasil Enkripsi Metode Playfair Cipher 49
4.5 Tampilan Hasil Enkripsi Metode Playfair ElGamal
50 4.6
Tampilan Error Hasil Generate Key pada Metode ElGamal 50
4.7 Tampilan Hasil Enkripsi Metode Playfair Cipher
51 4.8
Tampilan Hasil Enkripsi Metode ElGamal 52
4.9 Tampilan Hasil Enkripsi Metode Playfair Cipher
53 4.10 Tampilan Hasil Enkripsi Metode ElGamal
53 4.11 Tampilan Hasil Enkripsi Metode Playfair Cipher
54 4.12 Tampilan Hasil Enkripsi Metode ElGamal
55
Universitas Sumatera Utara
ABSTRAK
Perkembangan teknologi yang begitu pesat memungkinkan manusia dapat saling berkomunikasi dan bertukar informasi secara jarak jauh. Keamanan data menjadi isu
penting dalam penyimpanan dan transmisi data. Penggunaan data citra pun semakin luas dalam berbagai bidang. Oleh karena itu, pengamanan data citra dari pihak yang
tidak berhak menjadi hal yang penting. Teknik kriptografi dapat digunakan untuk memenuhi aspek kerahasiaan pesan yang dikirim, yaitu pesan yang dikirim hanya
dapat dibaca oleh penerima yang memiliki hak untuk mengetahui isi pesan tersebut dengan menggunakan kunci rahasia. Walaupun demikian, enkripsi tidak dapat
mencegah intersepsi dan modifikasi data pada saluran komunikasi. Enkripsi tidak mampu melindungi saluran komunikasi dari para pendengar rahasia untuk
mengekstrak data rahasia. Metode Playfair Cipher dan Elgamal merupakan dua bagian kriptografi yang masih
banyak digunakan dalam melindungi pesan rahasia. Metode Playfair Cipher yang dikenal hanya menggunakan satu kunci yang digunakan dalam enkripsi maupun
dekripsi. Sedangkan, metode Elgamal menggunakan kunci enkripsi dan dekripsi yang berbeda. Untuk memahami cara kerja kedua metode tersebut dalam kriptografi yang
berhubungan dengan citra, penulis berinisiatif untuk melakukan penelitian
”Analisis Perbandingan Metode Playfair Cipher Dan Elgamal Pada
Kriptografi Citra”. Aplikasi yang dibuat pada penelitian ini dikerjakan menggunakan bahasa
pemrograman Microsoft Visual Studio 2010. Hasil dari aplikasi ini mampu mengenkripsi file citra tipe BMP dengan format piksel 24 bit dan menghasilkan
perbandingan dari kualitas citra, kecepatan enkripsi dan dekripsi, dan nilai Mean Squared Error MSE.
Kata Kunci: Kriptografi Citra, Playfair Cipher, ElGamal, BMP, Enkripsi dan
Dekripsi Citra.
Universitas Sumatera Utara
COMPARATIVE ANALYSIS OF PLAYFAIR CIPHER AND ELGAMAL METHOD ON IMAGE CRPYPTOGRAPHY
ABSTRACT
Rapid technology developments allow humans to communicate and exchange information remotely. Information security become an important issue in the storage
and transmission of data. The usage of image data are increasingly widespread in various fields. Therefore, the security of image data from unauthorized sides become
important. Cryptographic techniques can be used to meet the confidentiality of messages sent, the message sent can only be read by the recipient who has the right to
know the contents of the message using the secret key. However, encryption
can‟t prevent the interception and modification of data on communication channel.
Encryption is not able to protect the communication channel from the listener to extract confidential data secret.
Playfair Cipher and ElGamal is part of cryptography that still being used until recently to protect secret message. Playfair Cipher method is known to use only one key to
being used in encryption and decryption. While, Elgamal method uses a pair of different keys, the encryption key and the decryption key. To understanding these two
methods on image cryptography, the author took the initiative to do a research of
“Comparative Analysis of Playfair Cipher and ElGamal Method on Image Cryptography”.
The application created in this study was undertaken using Microsoft Visual Studio 2010. The results of this application is able to encrypt files of type BMP image with
24-bit pixel format and generate the comparison of image quality, speed encryption and decryption, and Value Mean Squared Error MSE.
Keywords : Cryptography image, Playfair Cipher and ElGamal, BMP, Image
Encryption and Decryption.
Universitas Sumatera Utara
BAB 1
PENDAHULUAN
1.1. Latar Belakang