Versions in this module Expand all Collapse all v1 v1.0.1 Mar 8, 2019 Changes in this version + const NACL_ED25519 + var SupportedAlgorithms = []string + func DecodeBase64(v string) ([]byte, error) + func EncodeBase64(v []byte) string + type Key struct + Alg string + PrivateKey ed25519.PrivateKey + PublicKey ed25519.PublicKey + Version string + func DecodeSigningKeyBase64(alg, version, key string) (*Key, error) + func DecodeVerifyKeyBase64(alg, version, key string) (*Key, error) + func DecodeVerifyKeyBytes(keyID string, verify []byte) (*Key, error) + func New(version string) (*Key, error) + func (key *Key) KeyID() string + func (key *Key) Sign(object Message, signatureName string) error + func (key *Key) Verify(message Message, signatureName string) (err error) + type Message map[string]interface + func (m Message) SignatureID(name string) []string