Versions in this module Expand all Collapse all v0 v0.1.0 Jan 19, 2022 Changes in this version + func Destroy() + func Init() bool + func SayHello() + type PrivateKey struct + Data [32]byte + func NewPrivateKey(seed []byte) *PrivateKey + func NewPrivateKeyFromBase58(strPriv string) (*PrivateKey, error) + func NewPrivateKeyFromHex(strPriv string) (*PrivateKey, error) + func (priv *PrivateKey) GetPublicKey() *PublicKey + func (priv *PrivateKey) Sign(digest []byte) (*Signature, error) + func (priv *PrivateKey) String() string + type PublicKey struct + Data [33]byte + func GetPublicKey(seckey *PrivateKey) (*PublicKey, error) + func NewPublicKeyFromBase58(strPub string) (*PublicKey, error) + func Recover(digest []byte, signature *Signature) (*PublicKey, error) + func (pk *PublicKey) Bytes() []byte + func (pk *PublicKey) String() string + func (pk *PublicKey) StringEOS() string + type Signature struct + Data [65]byte + func NewSignature(sig []byte) *Signature + func NewSignatureFromBase58(sig string) (*Signature, error) + func Sign(digest []byte, seckey *PrivateKey) (*Signature, error) + func (sig *Signature) Bytes() []byte + func (sig *Signature) String() string