SHA-512 Algorithm on Json Web Token for Restful Web Service-Based Authentication

Naufal Rasyada


The development of technology is getting faster and continues to grow so as to create various types of technology, architecture, to new programming languages. Surely this will be a new problem because of differences in technology, programming language, and architecture that must still be able to provide interconnected sources of information. So in order for the system to remain integrated, a Web Service (WS) is needed as a bridge in integrating between systems without differentiating the platform, programming language, or architecture used. One of the Web Service architectures that is widely used is REST (REpresentational State Transfer), but there will be problems in implementing REST Web Service because it does not have security standards in the authentication process. Then an authentication method is needed, namely JSON Web Token (JWT). In implementing JWT, a hash algorithm is needed, such as SHA-512. The results of this study indicate that the use of SHA-512 on the JWT has a good speed with an average data request speed of 512.8 milliseconds (ms) when compared to the SHA-256 algorithm which has an average data request speed of 515.55 MS. Meanwhile, in terms of data size, SHA-512 produces an average data request size of 0.75 kilobytes (kb) compared to SHA-256 which has an average data request size of 0.72 kb.

Article Metrics

Abstract: 127 Viewers PDF: 86 Viewers


Authentication; SHA-512 Algorithm; Web Service; JSON Web Token

Full Text:



Y. Winoto, N. Aufa and R. K. Anwar, "Model Literasi Informasi Pengajar dalam Mengembangkan Model Kecerdasan Ruang Visual (Spatial Intelligence) : Studi pada Para Peserta Bimbingan Belajar Villa Merah Bandung," PUSTABIBLIA: Journal of Library and Information Science, pp. 59-78, 2020.

A. Ardiansyah and M. Kurniasih, "Implementasi Algoritma AES-256 Untuk Pengamanan Layanan API Pada Restful Dengan Autentikasi Json Web Tokens," Seminar Nasional Inovasi Teknologi – SNITek, pp. 315-327, 2019.

H. Hamad, M. Saad and R. Abed, "Performance Evaluation of RESTful Web Services for Mobile Devices," International Arab Journal of e-Technology, Vol. 1, No. 3, pp. 71-78, 2010.

S. Mumbaikar and P. Padiya, "Web Services Based On SOAP and REST Principles," International Journal of Scientific and Research Publications, Volume 3, Issue 5, pp. 1-4, 2013.

P. Sahoo, N. K. Janghel and D. Samanta, "Securing WEB API Based on Token Authentication," International Journal on Advanced Electrical and Computer Engineering (IJAECE), pp. 1-4, 2017.

M. B. Jones, J. Bradley and N. Sakimura, "JSON Web Token (JWT)," Internet Engineering Task Force (IETF), pp. 1-30, 16 May 2015.

P. F. Tanaem, D. Manongga and A. Iriani, "RESTFul Web Service Untuk Sistem Pencatatan Transaksi Studi kasus PT. XYZ," Jurnal Teknik Informatika dan Sistem Informasi, pp. 1-10, 2016.

A. Sebastian, "Implementasi dan Perbandingan Performa Algoritma Hash Sha-1, Sha-256, dan Sha-512," Program Studi Teknik Informatika, Institut Teknologi Bandung, Bandung, 2007.

D. Juardi, "Kajian Vulnerability Keamanan Data dari Eksploitasi Hash Length Extension Attack," Incomtech VoL 6, No 1, pp. 48-58, 2017.

FIPS, "Secure Hash Standard (SHS)," Information Technology Laboratory, Gaithersburg, 2008.

G. Tendra and D. Wulandari, "Implementasi Representational State Transfer dan Geotagging pada Aplikasi Pelaporan Kecelakaan Lalu Lintas," Jurnal Intra Tech, pp. 7-16, 2020.

A. R. S. A. Mugianto, "Pengembangan Perencanan Pembelajaran Menulis Teks Laporan Hasil Observasi Model Pembelajaran Berbasis Proyek Siswa Kelas X Sma," Jurnal Ilmu Budaya, pp. 353-366, 2017.

L. Tahmidaten and W. Krismanto, "Permasalahan Budaya Membaca di Indonesia (Studi Pustaka Tentang Problematika & Solusinya)," Jurnal Pendidikan dan Kebudayaan, pp. 22-33, 2020.


  • There are currently no refbacks.


Journal of Applied Data Sciences

2723-6471 (Online)
Organized by : MetaBright
Published by : Bright Publisher
Website :
Email :

 This work is licensed under a Creative Commons Attribution-ShareAlike 4.0