Versions in this module Expand all Collapse all v1 v1.2.17 Jul 9, 2024 v1.0.10 Jan 11, 2024 Changes in this version + const PrivKeyBytesLen + const PubKeyBytesLenCompressed + const SecKeyBytesLen + var NewPrivateKey = NewSecretKey + var PrivKeyFromBytes = SecKeyFromBytes + var PrivKeyFromScalar = SecKeyFromScalar + func AddNonConst(p1, p2, result *JacobianPoint) + func DecompressY(x *FieldVal, odd bool, resultY *FieldVal) bool + func DoubleNonConst(p, result *JacobianPoint) + func GenerateSharedSecret(privkey *SecretKey, pubkey *PublicKey) []byte + func GeneratorJacobian(jacobian *JacobianPoint) + func IsCompressedPubKey(pubKey []byte) bool + func JacobianToByteSlice(point JacobianPoint) []byte + func ScalarBaseMultNonConst(k *ModNScalar, result *JacobianPoint) + func ScalarMultNonConst(k *ModNScalar, point, result *JacobianPoint) + func SecKeyFromBytes(pk []byte) (*SecretKey, *PublicKey) + 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 = SecretKey + type PublicKey = secp.PublicKey + func Generator() *PublicKey + func NewPublicKey(x, y *FieldVal) *PublicKey + func ParsePubKey(pubKeyStr []byte) (*PublicKey, error) + type SecretKey = secp.SecretKey + func NewSecretKey() (*SecretKey, error) + func SecKeyFromScalar(key *ModNScalar) *SecretKey