JWT vs Groth16 zk-SNARK: Performance and Privacy Trade-offs in WebRTC Authentication

Authors

DOI:

https://doi.org/10.29408/edumatic.v10i3.36502

Keywords:

authentication security, groth16, real-time communication, webrtc, zero-knowledge proof

Abstract

WebRTC authentication commonly relies on JSON Web Tokens (JWT), which are efficient but expose bearer credentials, creating privacy risks in adversarial networks. Zero-Knowledge Proofs (ZKP) offer stronger privacy at a higher computational cost, yet prior studies evaluated both methods separately, leaving it unclear whether performance differences stem from the mechanisms or from different test environments. This study compares JWT and Groth16-based ZKP authentication trade-offs under equivalent WebRTC signaling conditions. A controlled experiment in an isolated testbed (130 trials per method) measured call-setup latency, payload size, functional success, and resistance to replay and payload-manipulation attacks under a Man-in-the-Middle threat model. JWT achieved a mean call-setup time of 397.737 ms versus 1172.492 ms for ZKP, with proof generation accounting for approximately 66 percent of ZKP latency and payloads over twenty times larger. Both methods achieved complete functional success and a 0 percent attack success rate. ZKP thus matched JWT's resistance while avoiding key exposure, though results are limited to the tested attacks and controlled conditions. The study contributes a replicable benchmarking methodology and shows that privacy-preserving authentication shifts computational load to the client; ZKP suits privacy-critical deployments with capable devices, whereas JWT suits latency-constrained ones.

References

Albalwy, F. (2026). Zero-Knowlsedge-Based Policy Enforcement for Privacy-Preserving Cross-Institutional Health Data Sharing on Blockchain. Systems, 14(4). https://doi.org/10.3390/systems14040385

Amine, O., Baghery, K., Pindado, Z., & Ràfols, C. (2024). Simulation extractable versions of Groth's zk-SNARK revisited. International Journal of Information Security, 23(1), 431–445. https://doi.org/10.1007/s10207-023-00750-7

Asiana, K. P., Huwae, R. B., & Jatmika, A. H. (2025). Studi Eksperimen Keamanan Jaringan Wi-Fi Kampus: Analisis Kerentanan terhadap Serangan Evil Twin dan Deauthentication. Edumatic: Jurnal Pendidikan Informatika, 9(2), 629–638. https://doi.org/10.29408/edumatic.v9i2.31822

Chi, P. W., Lu, Y. H., & Guan, A. (2023). A Privacy-Preserving Zero-Knowledge Proof for Blockchain. IEEE Access, 11, 85108–85117. https://doi.org/10.1109/ACCESS.2023.3302691

Darmawan, C., Naibaho, J. P. P., & Kweldju, A. de. (2024). Penerapan Metode Vulnerability Assessment untuk Identifikasi Keamanan Website berdasarkan OWASP ID Tahun 2021. Edumatic: Jurnal Pendidikan Informatika, 8(1), 272–281. https://doi.org/10.29408/edumatic.v8i1.25834

De Groef, W., Subramanian, D., Johns, M., Piessens, F., & Desmet, L. (2016). Ensuring Endpoint Authenticity in WebRTC Peer-to-Peer Communication. Proceedings of the 31st Annual ACM Symposium on Applied Computing (SAC '16), ACM. https://doi.org/10.1145/2851613.2851804

Dwivedi, A. D., Singh, R., Ghosh, U., Mukkamala, R. R., Tolba, A., & Said, O. (2022). Privacy preserving authentication system based on non-interactive zero knowledge proof suitable for Internet of Things. Journal of Ambient Intelligence and Humanized Computing, 13(10), 4639–4649. https://doi.org/10.1007/s12652-021-03459-4

El-Hajj, M., & Oude Roelink, B. (2024). Evaluating the Efficiency of zk-SNARK, zk-STARK, and Bulletproof in Real-World Scenarios: A Benchmark Study. Information, 15(8), 463. https://doi.org/10.3390/info15080463

Fansuri, M. F., & Kusrini, K. (2026). Mutual Information-Driven Feature Selection for Efficient DDoS Detection Using Modern Boosting Ensembles. Edumatic: Jurnal Pendidikan Informatika, 10(1), 150–159. https://doi.org/10.29408/edumatic.v10i1.34012

Faozi, R. A., Majid, N. W. A., & Widodo, S. (2026). Security Maturity Assessment of Indonesian Android Mobile Banking Apps using MobSF and OWASP. Edumatic: Jurnal Pendidikan Informatika, 10(1), 80–89. https://doi.org/10.29408/edumatic.v10i1.33285

Gaba, G. S., Hedabou, M., Kumar, P., Braeken, A., Liyanage, M., & Alazab, M. (2022). Zero knowledge proofs based authenticated key agreement protocol for sustainable healthcare. Sustainable Cities and Society, 80, Artikel 103766. https://doi.org/10.1016/j.scs.2022.103766

Groth, J. (2016). On the size of pairing-based non-interactive arguments. In M. Fischlin & J.-S. Coron (Eds.), Advances in Cryptology: EUROCRYPT 2016. Computer Science, Vol. 9666, pp. 305-326). Springer. https://doi.org/10.1007/978-3-662-49896-5_11

Kuznetsov, O., Kuznetsova, Y., Ziyatbekova, G., Kovalenko, Y., & Palahusynets, R. (2026). Performance Evaluation of zk-SNARK Protocols for Privacy-Preserving Sensor Data Verification: A Systematic Benchmarking Study. Sensors, 26(8), 2486. https://doi.org/10.3390/s26082486

Li, W., Meese, C., Zhong, Z. G., Guo, H., & Nejad, M. (2021). Location-aware verification for autonomous truck platooning based on blockchain and zero-knowledge proof. IEEE International Conference on Blockchain and Cryptocurrency (ICBC 2021). https://doi.org/10.1109/ICBC51069.2021.9461116

Mahmoud, H., & Abozariba, R. (2025). A systematic review on WebRTC for potential applications and challenges beyond audio video streaming. Multimedia Tools and Applications, 84, 2909–2946. https://doi.org/10.1007/s11042-024-20448-9

Maruschke, M., Zimmermann, J., Bach, T., & Haensge, K. (2015). The role of QoS in WebRTC and IMS-based IPTV services. International Journal on Advances in Telecommunications, 8(1 & 2), 59–73.

Oude Roelink, B., El-Hajj, M., & Sarmah, D. (2024). Systematic review: Comparing zk-SNARK, zk-STARK, and bulletproof protocols for privacy-preserving authentication. Security and Privacy, 7(5). https://doi.org/10.1002/spy2.401

Putra, N. A., Sidiq, M. F., & Amrulloh, A. (2025). Enhanced Data Security in Video Media using RSA-LSB Hybrid Technique. Edumatic: Jurnal Pendidikan Informatika, 9(2), 551–559. https://doi.org/10.29408/edumatic.v9i2.31030

Salleras, X., & Daza, V. (2020). SANS: Self-sovereign authentication for network slices. Security and Communication Networks, 2020, 8823573. https://doi.org/10.1155/2020/8823573

Sassi, Z. ben, Yaici, C. C., Xiang, J., Salem, O., & Mehaoua, A. (2025). Benchmarking Zero-Knowledge Proof-Based Authentication Protocols. Proceedings of 2025 IEEE International Symposium on Future Telecommunication Technologies, SOFTT 2025, 131–137. https://doi.org/10.1109/SOFTT67007.2025.11212915

Skowroński, R. (2026). WebRTC Swarms: Decentralized, Incentivized, and Privacy-Preserving Signaling with Designated Verifier Zero-Knowledge Authentication. Future Internet, 18(1). https://doi.org/10.3390/fi18010013

Su, Z., Wang, S., Cai, H., Huang, J., Chen, Y., Zhang, X., & Alam, M. (2024). A Secure and Efficient Authentication Scheme for Large-Scale IoT Devices Based on Zero-Knowledge Proof. Electronics (Switzerland), 13(18). https://doi.org/10.3390/electronics13183735

Zhao, R. (2024). Toward the flow-centric detection of browser fingerprinting. Computers & Security, 137, 103642. https://doi.org/10.1016/j.cose.2023.103642

Downloads

Published

2026-11-25

How to Cite

Raswa, R., Yusuf, A. M., Irawan, J., & Iswanto, M. E. (2026). JWT vs Groth16 zk-SNARK: Performance and Privacy Trade-offs in WebRTC Authentication. Edumatic: Jurnal Pendidikan Informatika, 10(3), 500–509. https://doi.org/10.29408/edumatic.v10i3.36502

Similar Articles

<< < 4 5 6 7 8 9 10 11 12 13 > >> 

You may also start an advanced similarity search for this article.