package
1.24.4
Repository: https://pkg.go.dev/std
Documentation: pkg.go.dev

# Functions

GenerateKey generates a new ECDSA private key for the specified curve.
Sign signs a hash (which should be the result of hashing a larger message) using the private key, priv.
SignASN1 signs a hash (which should be the result of hashing a larger message) using the private key, priv.
Verify verifies the signature in r, s of hash using the public key, pub.
VerifyASN1 verifies the ASN.1 encoded signature, sig, of hash using the public key, pub.

# Structs

PrivateKey represents an ECDSA private key.
PublicKey represents an ECDSA public key.