Versions in this module Expand all Collapse all v6 v6.0.0 Dec 20, 2021 Changes in this version + type ECKind string + const Ed25519 + const NistP256 + const Secp256k1 + type Key struct + PubKey PubKey + func FromBase58(privKey string, kind ECKind) (*Key, error) + func FromBase64(privKey string, kind ECKind) (*Key, error) + func FromBytes(privKey []byte, kind ECKind) (*Key, error) + func FromEncryptedSecret(esk, passwd string) (*Key, error) + func FromHex(privKey string, kind ECKind) (*Key, error) + func FromMnemonic(mnemonic, email, passwd string, kind ECKind) (*Key, error) + func Generate(kind ECKind) (*Key, error) + func (k *Key) GetBytes() []byte + func (k *Key) GetSecretKey() string + func (k *Key) SignBytes(msg []byte) (Signature, error) + func (k *Key) SignHex(msg string) (Signature, error) + type PubKey struct + func (p *PubKey) GetAddress() string + func (p *PubKey) GetBytes() []byte + func (p *PubKey) GetPublicKey() string + type Signature struct + Bytes []byte + func (s *Signature) AppendToBytes(msg []byte) []byte + func (s *Signature) AppendToHex(msg string) string + func (s *Signature) ToBase58() string + func (s *Signature) ToBytes() []byte + func (s *Signature) ToHex() string Other modules containing this package github.com/pitittatou/go-tezos/v5