class Curve

Defined in:

lib/secp256k1.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

from_rlp(rlp : Bytes) : Tuple(self, UInt32) from_rlp, to_rlp : Bytes to_rlp

Class methods inherited from class Object

from_rlp(rlp : Bytes) : Tuple(self, UInt32) from_rlp

Constructor Detail

def self.new(p : BigInt, n : BigInt, b : BigInt, g : Point) #

[View source]

Instance Method Detail

def generator : Point #

[View source]
def on_curve?(p : Point) : Bool #

[View source]
def p : BigInt #

[View source]