Versions in this module Expand all Collapse all v0 v0.1.0 Jul 23, 2020 Changes in this version + func GetCurveHalfOrdersAt(c elliptic.Curve) *big.Int + func GetSHA256HASH(data string) []byte + func IsLowS(k *ecdsa.PublicKey, s *big.Int) (bool, error) + func LoadPrivateKey(privateKey string) (*ecdsa.PrivateKey, error) + func LoadPrivateKeyByFile(file string) (*ecdsa.PrivateKey, error) + func LoadPublicKey(cert string) (*ecdsa.PublicKey, error) + func LoadPublicKeyByFile(file string) (*ecdsa.PublicKey, error) + func LoadPublicKeyNotCert(cert string) (*ecdsa.PublicKey, error) + func NewEcdsaR1Handle(pub, pri string) (*ecdsaHandle, error) + func SignECDSA(k *ecdsa.PrivateKey, digest []byte) (signature []byte, err error) + func ToLowS(k *ecdsa.PublicKey, s *big.Int) (*big.Int, bool, error) + func UnmarshalECDSASignature(raw []byte) (*big.Int, *big.Int, error) + func VerifyECDSA(k *ecdsa.PublicKey, signature, digest []byte) (bool, error) + type ECDSASignature struct + R *big.Int + S *big.Int