Base64 Sebagai Kunci Keamanan pada One Time Pad (OTP)

Oris Krianto Sulaiman, Khairuddin Nasution, Satria Yudha Prayogi


Message security in communication is very important to maintain the confidentiality and integrity of messages. The message that is sent must be conveyed in its entirety and only delivered according to its purpose. One Time Pad or OTP is an algorithm that can encrypt messages into ciphertext so that message security can be guaranteed. OTP is a symmetric cryptographic algorithm, that is, the key for encryption and decryption is the same. To perform encryption, the OTP plaintext length must be the same as the key length. This will make it difficult when there is a very long length of plaintext, so the key must also adjust it. OTP keys also have a weakness if a key has been used more than once. Therefore a key builder is needed. In this research, the key generator used is base64. Base64 is used to change the bits of plaintext that will be used by OTP. In this study, base64 can encode plaintext to be used as an OTP key so that it succeeded in making the key generator from base64 encoding.


Base64, One Time Pad, Security Key, Message Security.

Full Text:



J. Clawdia, N. Khairina, and M. K. Harahap, “Implementasi Algoritma Kriptografi One Time Pad (Otp) Dengan Dynamic Key Linear Congruential Generator (Lcg),” Konferensi Nasional Teknologi Informasi dan Komputer (KOMIK), vol. I, pp. 12–14, 2017.

N. Khairina and M. K. Harahap, “Analisis Algoritma One Time Pad Dengan Algoritma Cipher Transposisi Sebagai Pengamanan Pesan Teks,” SinkrOn, vol. 1, no. 2, p. 58, Jun. 2017, doi: 10.33395/sinkron.v1i2.42.

R. Minarni, “Implementasi Algoritma Base64 untuk Mengamakan SMS p ada Smartphone,” Building Informatics, Technology and Science (BITS), vol. 1, no. 1, pp. 28–33, 2019.

R. Rahim et al., “Combination Base64 Algorithm and EOF Technique for Steganography,” Journal of Physics: Conference Series, vol. 1007, no. 1, 2018, doi: 10.1088/1742-6596/1007/1/012003.

R. Rahim, R. Ratnadewi, D. Prayama, E. Asri, and D. Satria, “Base64, End of File and One Time Pad for Improvement Steganography Security,” IOP Conference Series: Materials Science and Engineering, vol. 407, no. 1, 2018, doi: 10.1088/1757-899X/407/1/012161.

R. Aulia, A. Zakir, and M. Zulhafiz, “Penerapan Algoritma One Time Pad & Linear Congruential Generator Untuk Keamanan Pesan Teks,” InfoTekJar (Jurnal Nasional Informatika dan Teknologi Jaringan), vol. 4, no. 1, pp. 37–41, Sep. 2019, doi: 10.30743/infotekjar.v4i1.1590.

L. E. Pratiwi, R. Marwati, and I. Yusnitha, “Program Aplikasi Kriptografi Penyandian One Time Pad Menggunakan Sandi Vigenere,” Jurnal EurekaMatika, vol. 2, no. 1, pp. 43–53, 2014.

S. M. Hardi, D. Hamonangan, and M. Zarlis, “IMPLEMENTASI KRIPTOGRAFI HIBRID DENGAN ALGORITMA ELGAMAL DAN ALGORITMA ONETIME PAD(OTP) DALAM PENGAMANAN FILE AUDIO BERBASIS DESKTOP,” TECHSI - Jurnal Teknik Informatika, vol. 10, no. 2, p. 129, Oct. 2018, doi: 10.29103/techsi.v10i2.903.

E. Gunadhi and A. P. Nugraha, “Penerapan Kriptografi Base64 Untuk Keamanan URL (Uniform Resource Locator) Website Dari Serangan SQL Injection,” Jurnal Algoritma, vol. 13, no. 2, pp. 391–398, 2017, doi: 10.33364/algoritma/v.13-2.391.

S. Siswanto, M. Anif, and W. Gata, “Penerapan Algoritma Kriptografi TEA Dan Base64 Untuk Mengamankan Email Data Policy Asuransi,” Jurnal ELTIKOM, vol. 2, no. 1, pp. 34–41, 2018, doi: 10.31961/eltikom.v2i1.44.


Article Metrics

Abstract view : 455 times
PDF - 362 times


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

CESS (Journal of Computer Engineering, System and Science)

Creative Commons License
CESS (Journal of Computer Engineering, System and Science) is licensed under a Creative Commons Attribution 4.0 International License