Text this: Modified Miller-Rabin primality test algorithm to detect prime numbers for generating RSA keys