Web Service Implementation in Logistics Company uses JSON Web Token and RC4 Cryptography Algorithm

Implementasi Web Service pada Perusahaan Logistik menggunakan JSON Web Token dan Algoritma Kriptografi RC4

  • Mochammad Rizky Royani Universitas Budi Luhur
  • Arief Wibowo Universitas Budi Luhur
Keywords: Web Service, Cryptography, Restful, Json Web Token, RC4


The development of e-commerce in Indonesia in the last five years has significantly increased the growth for logistics service companies. The Indonesian Logistics and Forwarders Association (ALFI) has predicted the growth potential of the logistics business in Indonesia to reach more than 30% by 2020. One of the efforts of logistics business companies to improve services in the logistics services business competition is to implement web service technology on mobile platforms, to easy access to services for customers. This research aims to build a web service with a RESTful approach. The REST architecture has limitations in the form of no authentication mechanism, so users can access and modify data. To improve its services, JSON Web Token (JWT) technology is needed in the authentication process and security of access rights. In terms of data storage and transmission security, a cryptographic algorithm is also needed to encrypt and maintain confidentiality in the database. RC4 algorithm is a cryptographic algorithm that is famous for its speed in the encoding process. RC4 encryption results are processed with the Base64 Algorithm so that encrypted messages can be stored in a database. The combination of the RC4 method with the Base64 method has strengthened aspects of database security. This research resulted in a prototype application that was built with a combination of web service methods, JWT and cryptographic techniques. The test results show that the web service application at the logistics service company that was created can run well with relatively fast access time, which is an average of 176 ms. With this access time, the process of managing data and information becomes more efficient because before making this application the process of handling a transaction takes up to 20 minutes.


Download data is not yet available.


F. Christian, “2020, Potensi Pertumbuhan Bisnis Logistik Lebih dari 30%,” Sindo News, no. November 2019, pp. 1–4, Dec. 17, 2020.

M. G. L. Putra and M. I. A. Putera, “Analisis Perbandingan Metode Soap Dan Rest Yang Digunakan Pada Framework Flask Untuk Membangun Web Service,” SCAN - J. Teknol. Inf. dan Komun., vol. 14, no. 2, pp. 1–7, 2019, doi: 10.33005/scan.v14i2.1480.

K. Arianto, Mukhammad Agus; Munir, Sirojul; Khotimah, “Analisis dan Perancangan Representational State Transfer (REST) Web Service Sistem Informasi Akademik STT Terpadu Nurul Fikri Menggunakan YII Framework,” J. Teknol. Terpadu, vol. 2, no. 2, pp. 1–8, 2016.

A. Rahmatulloh, H. Sulastri, and R. Nugroho, “Keamanan RESTful Web Service Menggunakan JSON Web Token (JWT) HMAC SHA-512,” J. Nas. Tek. Elektro dan Teknol. Inf., vol. 7, no. 2, 2018, doi: 10.22146/jnteti.v7i2.417.

G. A. Sekarsari, B. Nurhadiyono, and Y. Rahayu, “Analisis Algoritma Kriptografi Rc4 Pada Enkripsi,” Techno.COM, vol. 14, no. 4, pp. 250–254, 2015.

T. Hartanto, T. Informatika, F. T. Informasi, U. B. Luhur, P. Utara, and K. Lama, “Implementasi Web Service Berbasis Rest Menggunakan Algoritma AES 128 dan Affine Cipher,” vol. 1, no. 3, pp. 1130–1136, 2018.

R. Kurniawati, “Pengembangan Sistem Informasi Kependudukan Berbasis Mobile Dan Restful Web Service,” Semin. Nas. Teknol. Inf. dan Komun., vol. 2016, no. SENTIKA, pp. 605–609, 2016.

E. Kurniawan, “Implementasi Rest Web Service Untuk Sales Order Dan Sales Tracking Berbasis Mobile,” J. EKSIS, vol. 07, pp. 1–12, 2014.

B. Satria, A. Kusyanti, and W. Yahya, “Implementasi Algoritme Blake2s pada JSON Web Token ( JWT ) sebagai Algoritme Hashing untuk Mekanisme Autentikasi Layanan REST-API,” J. Pengemb. Teknol. Inf. dan Ilmu Komput. Univ. Brawijaya, vol. 2, no. 12, pp. 6269–6276, 2018.

Edy, Ferdiansyah, W. Pramusinto, and S. Waluyo, “Pengamanan Restful API menggunakan JWT untuk Aplikasi Sales Order,” vol. 1, no. 1, pp. 19–25, 2017.

M. M. Amin, “Implementasi Kriptografi Klasik Pada Komunikasi Berbasis Teks,” Pseudocode, vol. 3, no. 2, pp. 129–136, 2017, doi: 10.33369/pseudocode.3.2.129-136.

N. R. Yanti, A. Alimah, and D. A. Ritonga, “Implementasi Algoritma Data Encryption Standard Pada Penyandian Record Database,” J-SAKTI (Jurnal Sains Komput. dan Inform., vol. 2, no. 1, p. 23, 2018, doi: 10.30645/j-sakti.v2i1.53.

R. Sulaiman and B. Isnanto, “‘Peningkatan Keamanan Pesan Dengan Kriptografi RC4 dan Steganografi LSB Pada File JPEG,’” Konf. Nas. Sist. Inf. 2018, pp. 8–9, 2018.

R. Minarni, “Implementasi Algoritma Base64 untuk Mengamakan SMS p ada Smartphone,” Build. Informatics, Technol. Sci., vol. 1, no. 1, pp. 28–33, 2019.

How to Cite
Mochammad Rizky Royani, & Wibowo, A. (2020). Web Service Implementation in Logistics Company uses JSON Web Token and RC4 Cryptography Algorithm. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 4(3), 591 - 600. https://doi.org/10.29207/resti.v4i3.1952
Artikel Teknologi Informasi