Security Algorithms - Extended Euclidean Algorithm, RSA, Diffie Hellman