Versions in this module Expand all Collapse all v0 v0.1.0 Jan 13, 2023 Changes in this version + type Curve = types.Curve + func NewCurve() Curve + type CurveImpl struct + func (*CurveImpl) BasePoint() Point + func (*CurveImpl) BitSize() uint64 + func (*CurveImpl) CompressedPointSize() int + func (*CurveImpl) DecodeToPoint(in []byte) (Point, error) + func (*CurveImpl) DecodeToScalar(in []byte) (Scalar, error) + func (*CurveImpl) HashToScalar(in []byte) (Scalar, error) + func (*CurveImpl) NewRandomScalar() Scalar + func (*CurveImpl) ScalarBaseMul(s Scalar) Point + func (*CurveImpl) ScalarFromBytes(b [32]byte) Scalar + func (*CurveImpl) ScalarMul(s Scalar, p Point) Point + func (*CurveImpl) Sign(s Scalar, p Point) ([]byte, error) + func (*CurveImpl) Verify(pubkey, msgPoint Point, sig []byte) bool + func (c *CurveImpl) AltBasePoint() Point + func (c *CurveImpl) ScalarFromInt(in uint32) Scalar + type Point = types.Point + type PointImpl struct + func NewPoint(inner *edwards25519.Point) *PointImpl + func (p *PointImpl) Add(b Point) Point + func (p *PointImpl) Copy() Point + func (p *PointImpl) Encode() []byte + func (p *PointImpl) Equals(other Point) bool + func (p *PointImpl) IsZero() bool + func (p *PointImpl) ScalarMul(s Scalar) Point + func (p *PointImpl) Sub(b Point) Point + type Scalar = types.Scalar + type ScalarImpl struct + func (s *ScalarImpl) Add(b Scalar) Scalar + func (s *ScalarImpl) Encode() []byte + func (s *ScalarImpl) Eq(b Scalar) bool + func (s *ScalarImpl) Inverse() Scalar + func (s *ScalarImpl) IsZero() bool + func (s *ScalarImpl) Mul(b Scalar) Scalar + func (s *ScalarImpl) Negate() Scalar + func (s *ScalarImpl) Sub(b Scalar) Scalar