Performance Comparison between Signature Cryptography: A Case Study on SNAP Indonesia


  • Moehammad Ramadhoni Universitas Pradita
  • Handri Santoso Universitas Pradita




cryptographic, ECC, HMAC, performance, RSA, SNAP, ZK-SNARK


SNAP (Standar Nasional OPEN API Pembayaran) was submitted by several sub-working groups formed jointly by ASPI and the Bank of Indonesia for encouraging digital transformation in the banking industry. In the document Pedoman Tata Kelola (Bank of Indonesia, n.d.), there is the use cryptographic algorithms that are used as validation for third parties to use the Open API. The algorithms used in the document are HMAC and RSA. The third party will send the signature in the API header along with the sent API payload. The signature describes the body payload, the endpoint URL that was called by the third party, and the time when the API call was made, so the signature will change all the time. However, there are other algorithms that can be used as a form of validation, such as ECC and ZK-SNARK. In this journal, the performance of the four cryptographic algorithms is compared. The performance we compare is overall speed when creating the signature and verifying it. The result is that HMAC is the most efficient algorithm, but for financial data, it is better to use ECC which uses asymmetric keys and is faster than RSA contained in the SNAP document, especially when 256 bits security level that ECC could be 10 times faster then RSA.

GS Cited Analysis


Download data is not yet available.


Aranha, D. F., Housni, Y. E., & Guillevic, A. (2022). A survey of elliptic curves for proof systems. Cryptology ePrint Archive, Paper 2022/586.

Bafandehkar, M., Yasin, S. M., Mahmod, R., & Hanapi, Z. M. (2013). Comparison of ECC and RSA algorithm in resource constrained devices.

Baghery, K., Kohlweiss, M., Siim, J., & Volkhov, M. (2020). Another Look at Extraction and Randomization of Groth’s zk-SNARK. Cryptology ePrint Archive, Paper 2020/811.

Bank of Indonesia (n.d) Pedoman Tata Kelola SNAP. Retrieved May 01, 2023, from

Bank of Indonesia (n.d) Standar Data Spesifikasi Teknis SNAP. Retrieved May 01, 2023, from

Bank of Indonesia (n.d) Standar Teknis Keamanan SNAP. Retrieved May 01, 2023, from

Barreto, P. S. L. M., & Naehrig, M. (2006). Pairing-friendly elliptic curves of prime order. In B. Preneel & S. Tavares (Eds.), Selected Areas in Cryptography (Vol. 3897, pp. 319–331). Springer Berlin Heidelberg.

Bin Uzayr, S. (2022a). Mastering golang: A beginner’s guide (1st ed.). CRC Press.

Bin Uzayr, S. (2022b). Golang: The ultimate guide (1st ed.). CRC Press.

Buterik, Vitalik. (2021) An approximate introduction to how zk-SNARKs are possible. Retrieved May 06, 2023, from

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.

Dymora, P., & Paszkiewicz, A. (2020). Performance analysis of selected programming languages in the context of supporting decision-making processes for industry 4.0. Applied Sciences (Switzerland), 10(23), 1–17.

Effendy, F., Taufik, & Adhilaksono, B. (2019). Performance Comparison of Web Backend and Database: A Case Study of Node.JS, Golang and MySQL, Mongo DB. Recent Advances in Computer Science and Communications, 14(6), 1955–1961.

El Housni, Y., & Guillevic, A. (2022). Families of snark-friendly 2-chains of elliptic curves. In O. Dunkelman & S. Dziembowski (Eds.), Advances in Cryptology – EUROCRYPT 2022 (Vol. 13276, pp. 367–396). Springer International Publishing.

Ethereum.Org .(n.d). Zero-knowledge proofs. Retrieved May 06, 2023, from

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, 103766.

Gautam Botrel, Thomas Piellard, Youssef El Housni, Ivo Kubjas and Arya Tabaie. Gnark. 2023. Retrieved from

Gong, Y., Jin, Y., Li, Y., Liu, Z., & Zhu, Z. (2022). Analysis and comparison of the main zero-knowledge proof scheme. In Proceedings - 2022 International Conference on Big Data, Information and Computer Network, BDICN 2022 (pp. 366–372). Institute of Electrical and Electronics Engineers Inc.

Groth, J. (2016). On the size of pairing-based non-interactive arguments. In M. Fischlin & J.-S. Coron (Eds.), Advances in Cryptology – EUROCRYPT 2016 (Vol. 9666, pp. 305–326). Springer Berlin Heidelberg.

Harjoseputro, Y., Albertus Ari Kristanto, & Joseph Eric Samodra. (2020). Golang and NSG Implementation in REST API Based Third-Party Sandbox System. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 4(4), 745–750.

Housni, Y. E., & Guillevic, A. (2021). Families of SNARK-friendly 2-chains of elliptic curves. Cryptology ePrint Archive, Paper 2021/1359.

Hunacek, M. (2023). Introduction to number theory (1st ed.). Chapman and Hall/CRC.

Husufa, N., & Prihandi, I. (2022). Optimizing JMeter on performance testing using the bulk data method. Journal of Information Systems and Informatics, 4(2), 205–215.

K. Moriarty, B. Kaliski, J. Jonsson, and A. Rusch. PKCS #1: RSA Cryptography Specifications Version 2.2. RFC 8017, 2016.

Kim, J., Lee, J., & Oh, H. (2020). Simulation-extractable zk-SNARK with a single verification. IEEE Access, 8, 156569–156581.

Konkin, A., & Zapechnikov, S. (2023). Zero knowledge proof and ZK-SNARK for private blockchains. Journal of Computer Virology and Hacking Techniques.

Kristanto, A. A., Harjoseputro, Y., & Samodra, J. E. (2020). Implementasi Golang dan New Simple Queue pada Sistem Sandbox Pihak Ketiga Berbasis REST API. Jurnal Rekayasa Sistem Dan Teknologi Informasi (RESTI), 4(4), 745–750.

LabStack.(n.d). Echo. 2021. Retrieved from

Lenstra, A. K., & Verheul, E. R. (2001). Selecting Cryptographic Key Sizes. Journal of Cryptology, 14(4), 255–293. doi:10.1007/s00145-001-0009-4

Li, W. H., Zhang, Z. Y., Zhou, Z. B., & Deng, Y. (2022, July 1). An Overview on Succinct Non-interactive Zero-knowledge Proofs. Journal of Cryptologic Research. Chinese Association for Cryptologic Research.

National Institute of Standards and Technology. Federal Information Processing Standards FIPS PUB 186-4: Digital Signature Standard (DSS), 2013.

National Institute of Standards and Technology. Federal Information Processing Standards FIPS PUB 180-4: Secure Hash Standard, 2015. FIPS/NIST.FIPS.180-4.pdf.

Setty, S. (2020). Spartan: Efficient and general-purpose zksnarks without trusted setup. In D. Micciancio & T. Ristenpart (Eds.), Advances in Cryptology – CRYPTO 2020 (Vol. 12172, pp. 704–737). Springer International Publishing.

Toyib, R., & Darnita, Y. (2020). Pengamanan Data Teks Dengan Menggunakan Algoritma Zero-Knowledge Proof. JURNAL MEDIA INFOTAMA, 16(1).

Tyagi, S., & Kathuria, M. (2022). Role of Zero-Knowledge Proof in Blockchain Security. In 2022 International Conference on Machine Learning, Big Data, Cloud and Parallel Computing, COM-IT-CON 2022 (pp. 738–743). Institute of Electrical and Electronics Engineers Inc.

Ullah, S., Zheng, J., Din, N., Hussain, M. T., Ullah, F., & Yousaf, M. (2023). Elliptic Curve Cryptography; Applications, challenges, recent advances, and future trends: A comprehensive survey. Computer Science Review, 47, 100530.

Wahby, R. S., Tzialla, I., Shelat, A., Thaler, J., & Walfish, M. (2018). Doubly-efficient zksnarks without trusted setup. 2018 IEEE Symposium on Security and Privacy (SP), 926–943.


Crossmark Updates

How to Cite

Ramadhoni, M. ., & Santoso, H. . (2023). Performance Comparison between Signature Cryptography: A Case Study on SNAP Indonesia. Sinkron : Jurnal Dan Penelitian Teknik Informatika, 8(4), 2327-2335.

Most read articles by the same author(s)

1 2 > >>