This document presents a novel algorithm that enhances the speed of the RSA encryption process by utilizing CUDA technology for parallelization. By leveraging the computational power of GPUs, the authors demonstrate a significant performance improvement over traditional RSA implementations, especially when dealing with large prime numbers. The research aims to address existing vulnerabilities related to speed and small prime numbers in RSA encryption, proposing an efficient method for modular exponentiation on CUDA architecture.