Versions in this module Expand all Collapse all v0 v0.1.3 Nov 25, 2021 v0.1.1 Nov 25, 2021 Changes in this version + var BcryptSecurityParameter = 12 + func ArmorInfoBytes(bz []byte) string + func ArmorPubKeyBytes(bz []byte, algo string) string + func EncryptArmorPrivKey(privKey crypto.PrivKey, passphrase string, algo string) string + func LedgerShowAddress(path hd.BIP44Params, expectedPubKey tmcrypto.PubKey, ...) error + func NewPrivKeyLedgerSecp256k1(path hd.BIP44Params, hrp string) (tmcrypto.PrivKey, string, error) + func NewPrivKeyLedgerSecp256k1Unsafe(path hd.BIP44Params) (tmcrypto.PrivKey, error) + func RegisterAmino(cdc *amino.Codec) + func UnarmorDecryptPrivKey(armorStr string, passphrase string) (privKey crypto.PrivKey, algo string, err error) + func UnarmorInfoBytes(armorStr string) ([]byte, error) + func UnarmorPubKeyBytes(armorStr string) (bz []byte, algo string, err error) + type LedgerSECP256K1 interface + Close func() error + GetAddressPubKeySECP256K1 func([]uint32, string) ([]byte, string, error) + GetPublicKeySECP256K1 func([]uint32) ([]byte, error) + SignSECP256K1 func([]uint32, []byte) ([]byte, error) + type PrivKeyLedgerSecp256k1 struct + CachedPubKey tmcrypto.PubKey + Path hd.BIP44Params + func (pkl *PrivKeyLedgerSecp256k1) AssertIsPrivKeyInner() + func (pkl PrivKeyLedgerSecp256k1) Bytes() []byte + func (pkl PrivKeyLedgerSecp256k1) Equals(other tmcrypto.PrivKey) bool + func (pkl PrivKeyLedgerSecp256k1) PubKey() tmcrypto.PubKey + func (pkl PrivKeyLedgerSecp256k1) Sign(message []byte) ([]byte, error) + func (pkl PrivKeyLedgerSecp256k1) ValidateKey() error