Versions in this module Expand all Collapse all v1 v1.10.17 Oct 18, 2021 Changes in this version + type EncryptedCSAKeyExport struct + Crypto keystore.CryptoJSON + KeyType string + PublicKey string type Key + func (Key) TableName() string + func (k Key) ToV2() KeyV2 + type KeyV2 struct + PublicKey ed25519.PublicKey + Version int + func FromEncryptedJSON(keyJSON []byte, password string) (KeyV2, error) + func MustNewV2XXXTestingOnly(k *big.Int) KeyV2 + func NewV2() (KeyV2, error) + func (key KeyV2) GoString() string + func (key KeyV2) ID() string + func (key KeyV2) PublicKeyString() string + func (key KeyV2) Raw() Raw + func (key KeyV2) String() string + func (key KeyV2) ToEncryptedJSON(password string, scryptParams utils.ScryptParams) (export []byte, err error) + type Raw []byte + func (raw Raw) GoString() string + func (raw Raw) Key() KeyV2 + func (raw Raw) String() string v1.10.16 Oct 18, 2021 Changes in this version + type Key struct + CreatedAt time.Time + EncryptedPrivateKey crypto.EncryptedPrivateKey + ID uint + PublicKey crypto.PublicKey + UpdatedAt time.Time + func New(passphrase string, scryptParams utils.ScryptParams) (*Key, error) + func (k *Key) Unlock(password string) error + func (k *Key) Unsafe_GetPrivateKey() ([]byte, error)