Implementasi Algoritma Xor Dan Algoritma Rc4 Pada Aplikasi Enkripsi Dan Dekripsi Teks Berbasis Android
vi
ABSTRAK
Kriptografi dapat dimanfaatkan untuk mengamankan pengiriman pesan pada
smartphone berbasis Android. Pada penelitian ini penulis mengkombinasikan
kriptografi klasik dan kriptografi modern dengan tujuan untuk memperkuat keamanan
pesan. Untuk kriptografi klasik, penulis memilih algoritma XOR dikarenakan mudah
diimplementasikan dan tidak sulit secara komputasional. Untuk kriptografi modern,
penulis memilih algoritma RC4 dikarenakan proses algoritma ini cepat dan juga kuat.
Proses pengamanan pesan diawali dengan proses enkripsi plainteks menggunakan
algoritma XOR untuk menghasilkan cipherteks pertama yang disebut cipherxor .
Selanjutnya cipherxor dienkripsi lagi dengan algoritma RC4 sehingga menghasilkan
cipherteks akhir. Sedangkan untuk proses dekripsi, tahap awal cipherteks didekripsi
dengan algoritma RC4 untuk mendapatkan cipherxor . Kemudian cipherxor didekripsi
lagi dengan algoritma XOR untuk menghasilkan plainteks kembali. Hasil dari
penelitian ini menunjukkan bahwa waktu pemrosesan enkripsi dan dekripsi dari
kombinasi algoritma XOR dan algoritma RC4 lebih efisien dibandingkan dengan
penjumlahan waktu pada proses enkripsi maupun proses dekripsi masing-masing
algoritma tersebut. Untuk proses enkripsi selisihnya adalah 0,015 detik sedangkan
untuk proses dekripsi selisihnya adalah 0,016 detik. Waktu tersebut juga berbanding
lurus dengan panjang plainteks.
Kunci : Kriptografi, Enkripsi, Dekripsi, XOR, RC4, Android
vii
IMPLEMENTATION OF XOR ALGORITHM AND RC4 ALGORITHM
IN TEXT ENCRYPTION AND DECRYPTION APPLICATION
BASED ON ANDROID
ABSTRACT
Cryptography can be used to secure the delivery of messages on an Android-based
smartphone. In this research, the authors combine classical cryptography and modern
cryptography with the aim to strengthen the security of message. For classical
cryptography, the author chose XOR algorithm because it’s easy to implement and it’s
not difficult computationally. For modern cryptography, the author chose RC4
algortihm because the process of this algorithm is fast and the security is also strong.
The process of securing message begins with encryption process of plaintext using
XOR algorithm to produce a first ciphertext that called cipherxor. Furthermore, the
cipherxor is encrypted again with RC4 algorithm to produce last ciphertext. As for the
decryption process, the first step ciphertext is decrypted with RC4 algorithm to get
cipherxor. Cipherxor then decrypted again with the XOR algorithm to generate the
plaintext back. The results from this research showed that the encryption and
decryption processing time of the combination of XOR algorithm and RC4 algorithm
is more efficient than the sum of encryption and decryption processing time each of
both algorithms. For the encryption process difference was 0.015 seconds while the
decryption process difference was 0.016 seconds. That time is also directly
proportional to the lenght of plaintext.
Keyword : Cryptography, Encryption, Decryption, XOR, RC4, Android
ABSTRAK
Kriptografi dapat dimanfaatkan untuk mengamankan pengiriman pesan pada
smartphone berbasis Android. Pada penelitian ini penulis mengkombinasikan
kriptografi klasik dan kriptografi modern dengan tujuan untuk memperkuat keamanan
pesan. Untuk kriptografi klasik, penulis memilih algoritma XOR dikarenakan mudah
diimplementasikan dan tidak sulit secara komputasional. Untuk kriptografi modern,
penulis memilih algoritma RC4 dikarenakan proses algoritma ini cepat dan juga kuat.
Proses pengamanan pesan diawali dengan proses enkripsi plainteks menggunakan
algoritma XOR untuk menghasilkan cipherteks pertama yang disebut cipherxor .
Selanjutnya cipherxor dienkripsi lagi dengan algoritma RC4 sehingga menghasilkan
cipherteks akhir. Sedangkan untuk proses dekripsi, tahap awal cipherteks didekripsi
dengan algoritma RC4 untuk mendapatkan cipherxor . Kemudian cipherxor didekripsi
lagi dengan algoritma XOR untuk menghasilkan plainteks kembali. Hasil dari
penelitian ini menunjukkan bahwa waktu pemrosesan enkripsi dan dekripsi dari
kombinasi algoritma XOR dan algoritma RC4 lebih efisien dibandingkan dengan
penjumlahan waktu pada proses enkripsi maupun proses dekripsi masing-masing
algoritma tersebut. Untuk proses enkripsi selisihnya adalah 0,015 detik sedangkan
untuk proses dekripsi selisihnya adalah 0,016 detik. Waktu tersebut juga berbanding
lurus dengan panjang plainteks.
Kunci : Kriptografi, Enkripsi, Dekripsi, XOR, RC4, Android
vii
IMPLEMENTATION OF XOR ALGORITHM AND RC4 ALGORITHM
IN TEXT ENCRYPTION AND DECRYPTION APPLICATION
BASED ON ANDROID
ABSTRACT
Cryptography can be used to secure the delivery of messages on an Android-based
smartphone. In this research, the authors combine classical cryptography and modern
cryptography with the aim to strengthen the security of message. For classical
cryptography, the author chose XOR algorithm because it’s easy to implement and it’s
not difficult computationally. For modern cryptography, the author chose RC4
algortihm because the process of this algorithm is fast and the security is also strong.
The process of securing message begins with encryption process of plaintext using
XOR algorithm to produce a first ciphertext that called cipherxor. Furthermore, the
cipherxor is encrypted again with RC4 algorithm to produce last ciphertext. As for the
decryption process, the first step ciphertext is decrypted with RC4 algorithm to get
cipherxor. Cipherxor then decrypted again with the XOR algorithm to generate the
plaintext back. The results from this research showed that the encryption and
decryption processing time of the combination of XOR algorithm and RC4 algorithm
is more efficient than the sum of encryption and decryption processing time each of
both algorithms. For the encryption process difference was 0.015 seconds while the
decryption process difference was 0.016 seconds. That time is also directly
proportional to the lenght of plaintext.
Keyword : Cryptography, Encryption, Decryption, XOR, RC4, Android