Cpp implementation for Elliptic Curve Cryptography