Versions in this module Expand all Collapse all v0 v0.1.2 Dec 2, 2021 Changes in this version + var N *big.Int + func RecoverPubkey(msg []byte, sig []byte) ([]byte, error) + func Sign(msg []byte, seckey []byte, rand io.Reader) ([]byte, error) + type BitCurve struct + B *big.Int + BitSize int + Gx *big.Int + Gy *big.Int + N *big.Int + Name string + P *big.Int + func S256() *BitCurve + func (BitCurve *BitCurve) Add(x1, y1, x2, y2 *big.Int) (*big.Int, *big.Int) + func (BitCurve *BitCurve) Double(x1, y1 *big.Int) (*big.Int, *big.Int) + func (BitCurve *BitCurve) IsOnCurve(x, y *big.Int) bool + func (BitCurve *BitCurve) Params() *elliptic.CurveParams + func (BitCurve *BitCurve) ScalarBaseMult(k []byte) (*big.Int, *big.Int) + func (BitCurve *BitCurve) ScalarMult(Bx, By *big.Int, scalar []byte) (*big.Int, *big.Int) v0.1.1 Jul 21, 2021