Cryptography, Python, Math, Mathematics, Diffie Hellman.
parameter. computeIntToShare(self): Helper function for sendInt(self). Computes and returns g^(_secretInt) (mod p) by using the Python pow(g, _secretInt, p) function. sendInt(self): Returns the integer to share with the other person. computeSharedSecretKey(self): Computes the shared secret key and