Versions in this module Expand all Collapse all v1 v1.0.2 Sep 28, 2021 v1.0.1 Sep 26, 2021 Changes in this version + func Verify(signature []byte, publicKey []byte, data []byte) (bool, error) + type Keystore struct + func New(path string) (*Keystore, error) + func (k *Keystore) Close() error + func (k *Keystore) CreateKey(id, entropy []byte) (crypto.PrivKey, crypto.PubKey, error) + func (k *Keystore) GetKey(id []byte) (crypto.PrivKey, crypto.PubKey, error) + func (k *Keystore) GetPublic(key crypto.PrivKey) crypto.PubKey + func (k *Keystore) HasKey(id []byte) (bool, error) + func (k *Keystore) Open() error + func (k *Keystore) Sign(key crypto.PrivKey, data []byte) ([]byte, error) + func (k *Keystore) Verify(signature []byte, publicKey []byte, data []byte) (bool, error)