All inputs must be numbers, G must be a point on the curve
Pm is the message, P is the public key, n is the private key
Made by Bechara Rizk