Versions in this module Expand all Collapse all v2 v2.16.0 Sep 14, 2023 v2.15.0 Apr 11, 2023 Changes in this version + func Sign(p *ecdsa.PrivateKey, msg []byte) ([]byte, error) + func Verify(p *ecdsa.PublicKey, data, sign []byte) bool + func VerifyMessage(p *ecdsa.PublicKey, m SignedMessage) bool + type SignedMessage struct + Data []byte + Message []byte + PublicKey []byte + Salt []byte + func SignMessage(p *ecdsa.PrivateKey, msg []byte) (SignedMessage, error)