encoding

package
Version: v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

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

func PubKeyFromProto(k pc.PublicKey) (crypto.PubKey, error)

PubKeyFromProto takes a protobuf Pubkey and transforms it to a crypto.Pubkey

func PubKeyToProto

func PubKeyToProto(k crypto.PubKey) (pc.PublicKey, error)

PubKeyToProto takes crypto.PubKey and transforms it to a protobuf Pubkey

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL