Studying the security of web services USING JSON web Token with RSA-512 algorithm and comparative analysis of HMAC-HA512, HMAC-256 AND RSA-512 for signing json web token
This article presents an analysis of the load testing results for three cryptographic algorithms: RSA- 512, HMAC-SHA512, and HMAC-SHA256. The RSA-512 algorithm demonstrated the best performance, handling the highest number of requests (78,646) and achieving the highest request rate per second (145.6). The HMAC-SHA512 and HMAC-SHA256 algorithms showed similar performance, processing roughly the same number of requests and having comparable request rates per second. The RSA-512 algorithm had the lowest average and maximum request processing times, whereas the HMAC algorithms had longer processing times. Additionally, the RSA-512 algorithm transmitted a larger volume of data compared to the HMAC algorithms. From a security perspective, RSA-512 uses asymmetric encryption, which is considered more secure than symmetric algorithms like HMAC since the private key is never transmitted over the network. However, RSA-512 has a lower security level compared to modern recommendations due to its 512-bit key length. HMAC-SHA512 and HMAC-SHA256 use symmetric encryption and provide good protection against message tampering, with SHA-512 being considered more secure than SHA-256 due to its longer hash code.
Authors
- Zh. Bidakhmet
- G.Z. Ziyatbekova
- Nurbapa Mekebayev (ORCID: https://orcid.org/0000-0002-9117-4369)
- A. K. Rysbayeva (ORCID: https://orcid.org/0000-0001-8135-4596)
- Dauren Darkenbayev (ORCID: https://orcid.org/0000-0002-6491-8043)
- K. A. Kyzaibek
Publication Details
- Journal
- Bulletin of the National Engineering Academy of the Republic of Kazakhstan
- Published
- 2024-09-30
- DOI
- https://doi.org/10.47533/2024.1606-146x.48
- Primary Topic
- Web Application Security Vulnerabilities
- Type
- article
- Field-Weighted Citation Impact
- 0.00