Documentation
¶
Index ¶
- Variables
- func HashToPoint(data []byte) (x, y *big.Int)
- type GF
- func (g *GF) Add(a, b *big.Int) *big.Int
- func (g *GF) Cube(a *big.Int) *big.Int
- func (g *GF) Div(a, b *big.Int) *big.Int
- func (g *GF) Inv(a *big.Int) *big.Int
- func (g *GF) Mul(a, b *big.Int) *big.Int
- func (g *GF) Neg(a *big.Int) *big.Int
- func (g *GF) Pow(a, b *big.Int) *big.Int
- func (g *GF) Square(a *big.Int) *big.Int
- func (g *GF) Sub(a, b *big.Int) *big.Int
Constants ¶
This section is empty.
Variables ¶
View Source
var ( One = big.NewInt(1) Two = big.NewInt(2) Three = big.NewInt(3) Four = big.NewInt(4) )
View Source
var (
F = &GF{p}
)
Functions ¶
func HashToPoint ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.