Versions in this module Expand all Collapse all v1 v1.2.5 Nov 26, 2023 v1.2.4 Nov 26, 2023 Changes in this version + var ErrInvalidKey = errors.New("signer: key must be 32-bytes") + func Sign(data []byte, key Key) (string, error) + func SignUpdate(data []byte, key Key) ([]byte, error) + func Verify(data []byte, key Key) (bool, error) + func WriteTo(data []byte, hmac string) ([]byte, error) + type Key []byte + func KeyString(s string) Key