Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group interface { Order() *big.Int Gen() Point Add(Point, Point) Point Neutral() Point Neg(Point) Point ScalarMult(Point, *big.Int) Point ScalarBaseMult(*big.Int) Point Equal(Point, Point) bool Encode(Point, io.Writer) error Decode(io.Reader) (Point, error) }
Group is a group formed on an elliptic curve
func NewSecp256k1Group ¶
func NewSecp256k1Group() Group
NewSecp256k1Group returns the impelementation of the group interface with the secp256k1 elliptic curve
Click to show internal directories.
Click to hide internal directories.