Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Curve ¶
type Curve struct {
// contains filtered or unexported fields
}
Curve represents the curve y^2 = x^3 + a.
func (*Curve) BInvariants ¶
BInvariants sets the B invariants (b2,4,6 and 8) on curve e in the ring r.
type Integers ¶
type Integers struct {
// contains filtered or unexported fields
}
Integers is a Ring of integers modulo n.
func NewIntegers ¶
NewIntegers constructs a new Ring of Integers with modulo n and returns it.
func (*Integers) RandomElement ¶
RandomElement chooses a random element in the Ring i.
Click to show internal directories.
Click to hide internal directories.