Performance and Security Evaluation of RSA Cryptosystem Implementations on Different Hardware Configurations

Read full text
Authors: Ana Carla Quallio Rosa, Rodrigo Campiolo, Daniel Macêdo Batista
Cited by: 0
References: 10

Abstract

RSA remains one of the central cryptographic systems for securing data and systems. This study evaluates implementations of the RSA algorithm across various programming languages and libraries, including C, C++, Java, JavaScript, Python, and Rust. The experiments assessed the performance of key generation, encryption, and decryption operations in two distinct environments: a high-performance setting and another with hardware and memory constraints. Implementations in Rust, C, C++, and Python exhibited lower execution times overall. Analysis of data structures revealed similar patterns across languages, while memory dumps identified fragments of private keys in several implementations, with full key recovery observed in JavaScript implementations. The results provide practical guidance for performance and security considerations in RSA implementations.

Fields of Study & Subjects

Cryptographic Implementations and Security Cryptography and Residue Arithmetic Cryptography and Data Security

Publication details

Journal / source
Revista Eletrônica de Iniciação Científica em Computação
Volume
24
Pages
39–47
Publication date
30 January 2026
Language
EN