Some significant functions for Diffie–Hellman Key Exchange. Such as Prime, Euler, Primitive_root in Python3
$python3
>>> import prime
>>> print(prime.get_prime(2, 12))
>>> [2, 3, 5, 7, 11]
$python3
>>> import euler
>>> print(euler.get_euler(11))
>>> 10
$python3
>>> import primitive
>>> print(primitive.get_primitive_root(7))
>>> [3, 5]