Versions in this module Expand all Collapse all v0 v0.1.2 Oct 31, 2022 v0.1.1 Oct 31, 2022 Changes in this version + const ED25519_PEM_PUBLIC_KEY_TAG + const ED25519_PEM_SECRET_KEY_TAG + func AccountHash(pubKey []byte) string + func AccountHex(publicKey []byte) string + func Ed25519FromSeed(seed []byte) keypair.KeyPair + func Ed25519Random() (keypair.KeyPair, error) + func ExportPrivateKeyInPem(privateKey string) []byte + func ExportPublicKeyInPem(publicKey string) []byte + func ParseKey(bytes []byte, from int, to int) ([]byte, error) + func ParseKeyFiles(pubKeyPath, privKeyPath string) (keypair.KeyPair, error) + func ParseKeyPair(publicKey []byte, privateKey []byte) keypair.KeyPair + func ParsePrivateKey(bytes []byte) ([]byte, error) + func ParsePrivateKeyFile(path string) ([]byte, error) + func ParsePublicKey(bytes []byte) ([]byte, error) + func ParsePublicKeyFile(path string) ([]byte, error)