Documentation
¶
Index ¶
- func Verify(signature []byte, publicKey []byte, data []byte) (bool, error)
- type Keystore
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.