Class: OpenSSL::PKey::EC::Point
- Inherits:
-
Object
- Object
- OpenSSL::PKey::EC::Point
- Defined in:
- lib/contracthashtool.rb
Overview
monkey patch EC::Point
Instance Method Summary collapse
Instance Method Details
#add(point) ⇒ Object
107 108 109 110 |
# File 'lib/contracthashtool.rb', line 107 def add(point) sum_point_hex = EC_ADD.add(self, point) self.class.new group, OpenSSL::BN.new(sum_point_hex, 16) end |