SMS dit: Mathematics of public key cryptography