Documentation
¶
Index ¶
- func GenerateNodeKey() (string, []byte, error)
- func GeneratePrivKey() ([]byte, error)
- func GetNodeID(key []byte) (string, error)
- func GetPubKey(keyb []byte) (string, error)
- func PubKeyToString(pk cryptotypes.PubKey) (string, error)
- func UnpackPubKey(x *types.Any) (cryptotypes.PubKey, error)
- type PrivKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateNodeKey ¶
func GeneratePrivKey ¶
func PubKeyToString ¶
func PubKeyToString(pk cryptotypes.PubKey) (string, error)
func UnpackPubKey ¶
func UnpackPubKey(x *types.Any) (cryptotypes.PubKey, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.