Class: Cryptos::EllipticCurve::Group

Inherits:
Struct
  • Object
show all
Defined in:
lib/cryptos/elliptic_curve.rb

Instance Attribute Summary collapse

Instance Attribute Details

#cofactorObject

Returns the value of attribute cofactor

Returns:

  • (Object)

    the current value of cofactor



3
4
5
# File 'lib/cryptos/elliptic_curve.rb', line 3

def cofactor
  @cofactor
end

#gxObject

Returns the value of attribute gx

Returns:

  • (Object)

    the current value of gx



3
4
5
# File 'lib/cryptos/elliptic_curve.rb', line 3

def gx
  @gx
end

#gyObject

Returns the value of attribute gy

Returns:

  • (Object)

    the current value of gy



3
4
5
# File 'lib/cryptos/elliptic_curve.rb', line 3

def gy
  @gy
end

#orderObject

Returns the value of attribute order

Returns:

  • (Object)

    the current value of order



3
4
5
# File 'lib/cryptos/elliptic_curve.rb', line 3

def order
  @order
end

#primeObject

Returns the value of attribute prime

Returns:

  • (Object)

    the current value of prime



3
4
5
# File 'lib/cryptos/elliptic_curve.rb', line 3

def prime
  @prime
end