Versions in this module
v1
Aug 14, 2019
Jun 25, 2019
Changes in this version
+
func DecompressPubkey(pubkey []byte) (*ecdsa.PublicKey, error)
—
darwin/amd64, linux/amd64, windows/amd64
+
func SigToPub(hash, sig []byte) (*ecdsa.PublicKey, error)
—
darwin/amd64, linux/amd64, windows/amd64
+
func Sign(hash []byte, prv *ecdsa.PrivateKey) (sig []byte, err error)
—
darwin/amd64, linux/amd64, windows/amd64
+
func VerifySignature(pubkey, hash, signature []byte) bool
—
darwin/amd64, linux/amd64, windows/amd64