Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrivKeyFromProto ¶
func PrivKeyFromProto(k pc.PrivateKey) (crypto.PrivKey, error)
PrivKeyFromProto takes a protobuf PrivateKey and transforms it to a crypto.PrivKey
func PrivKeyToProto ¶
func PrivKeyToProto(k crypto.PrivKey) (pc.PrivateKey, error)
PrivKeyToProto takes crypto.PrivKey and transforms it to a protobuf PrivKey
func PubKeyFromProto ¶
PubKeyFromProto takes a protobuf Pubkey and transforms it to a crypto.Pubkey
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.