gem install ecc
ecc = Ecc::Curve.new(a = 3, b = 4, fp = 7) a = Ecc::Point.new(ecc, 0, 2) b = Ecc::Point.new(ecc, 0, 2) puts a + b