Documentation ¶
Overview ¶
Package crypto implements CometBFT specific cryptography.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadOrGeneratePrivVal ¶
LoadOrGeneratePrivVal loads or generates a CometBFT PrivValidator for an Oasis node signature signer.
func PublicKeyFromCometBFT ¶
func PublicKeyFromCometBFT(tk *cmted25519.PubKey) signature.PublicKey
PublicKeyFromCometBFT converts a CometBFT public key to a signature.PublicKey.
func PublicKeyToCometBFT ¶
func PublicKeyToCometBFT(k *signature.PublicKey) cmted25519.PubKey
PublicKeyToCometBFT converts a signature.PublicKey to the CometBFT equivalent.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.