package
0.0.0-20201025151115-27e67ee9d143
Repository: https://github.com/studyzy/crypto.git
Documentation: pkg.go.dev
# 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.
Verify verifies the signature in r, s of hash using the public key, pub.
# Structs
PrivateKey represents an ECDSA private key.
PublicKey represents an ECDSA public key.