Versions in this module Expand all Collapse all v0 v0.0.2 Aug 1, 2023 v0.0.1 Jul 17, 2023 Changes in this version + var BcryptSecurityParameter = 12 + var DefaultEncryptPassphrase = "xplaDefaultPassphrase" + func Bech32AddrString(p PrivateKey) (string, error) + func EncryptArmorPrivKey(privKey cryptotypes.PrivKey, passphrase string) string + func EncryptArmorPrivKeyWithoutPassphrase(privKey cryptotypes.PrivKey) string + func HexAddrString(p PrivateKey) string + func NewMnemonic() (string, error) + func NewPrivKey(mnemonic string) (cryptotypes.PrivKey, error) + func UnarmorDecryptPrivKey(armorStr string, passphrase string) (privKey cryptotypes.PrivKey, algo string, err error) + func UnarmorDecryptPrivKeyWithoutPassphrase(armorStr string) (privKey cryptotypes.PrivKey, algo string, err error) + type PrivateKey = cryptotypes.PrivKey