# Functions
GenerateKey generates a public and private key pair.
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.