Αποστολή με SMS: Primality Testing and Integer Factorization in Public-Key Cryptography