Cryptography, Public Key Cryptography, Elliptic Curve, Ecc, Encryption.
operator-() const noexcept { EllipticPoint negPt; negPt.m_x = m_x; negPt.m_y = -m_y; return negPt; } Creates a new Elliptic point and sets its y variable to the negative. Elliptic Curve Arithmetic Add (override += operator): Can add 2 elliptic points from each other and return the resulting