Versions in this module Expand all Collapse all v0 v0.0.4 Aug 2, 2023 v0.0.3 Aug 1, 2023 Changes in this version + const PrivKeyBytesLen + const PubKeyBytesLenCompressed + func AddNonConst(p1, p2, result *JacobianPoint) + func DecompressY(x *FieldVal, odd bool, resultY *FieldVal) bool + func DoubleNonConst(p, result *JacobianPoint) + func GenerateSharedSecret(privkey *PrivateKey, pubkey *PublicKey) []byte + func GeneratorJacobian(jacobian *JacobianPoint) + func IsCompressedPubKey(pubKey []byte) bool + func JacobianToByteSlice(point JacobianPoint) []byte + func PrivKeyFromBytes(pk []byte) (*PrivateKey, *PublicKey) + func ScalarBaseMultNonConst(k *ModNScalar, result *JacobianPoint) + func ScalarMultNonConst(k *ModNScalar, point, result *JacobianPoint) + type CurveParams = secp.CurveParams + func Params() *CurveParams + type Error = secp.Error + type ErrorKind = secp.ErrorKind + type FieldVal = secp.FieldVal + type JacobianPoint = secp.JacobianPoint + func MakeJacobianPoint(x, y, z *FieldVal) JacobianPoint + func ParseJacobian(point []byte) (JacobianPoint, error) + type KoblitzCurve = secp.KoblitzCurve + func S256() *KoblitzCurve + type ModNScalar = secp.ModNScalar + func NonceRFC6979(privKey []byte, hash []byte, extra []byte, version []byte, ...) *ModNScalar + type PrivateKey = secp.PrivateKey + func NewPrivateKey() (*PrivateKey, error) + func PrivKeyFromScalar(key *ModNScalar) *PrivateKey + type PublicKey = secp.PublicKey + func Generator() *PublicKey + func NewPublicKey(x, y *FieldVal) *PublicKey + func ParsePubKey(pubKeyStr []byte) (*PublicKey, error)