Versions in this module Expand all Collapse all v0 v0.7.0 Jun 4, 2020 v0.6.0 Jun 4, 2020 Changes in this version + func KeyGen(curve CurveSystem) (Privkey, Pubkey) + func Verify(curve CurveSystem, sig Signature, pk Pubkey, msg *big.Int) bool + func VerifyCustHash(curve CurveSystem, sig Signature, pk Pubkey, msg []byte, ...) bool + func VerifyHashed(curve CurveSystem, sig Signature, pk Pubkey, msg []byte) bool + type Privkey struct + X *big.Int + Y *big.Int + type Pubkey struct + U Point + V Point + func LoadPublicKey(curve CurveSystem, x *big.Int, y *big.Int) Pubkey + type Signature struct + R *big.Int + Sigma Point + func Sign(curve CurveSystem, sk Privkey, msg *big.Int) Signature + func SignCustHash(curve CurveSystem, sk Privkey, msg []byte, ...) Signature + func SignHashed(curve CurveSystem, sk Privkey, msg []byte) Signature