Applications Of Continued Fractions In Cryptography And Diophantine Equations