cosmos-sdk: github.com/cosmos/cosmos-sdk/crypto/codec Index | Files

package codec

import "github.com/cosmos/cosmos-sdk/crypto/codec"

Index

Package Files

amino.go

func PrivKeyFromBytes Uses

func PrivKeyFromBytes(privKeyBytes []byte) (privKey crypto.PrivKey, err error)

PrivKeyFromBytes unmarshals private key bytes and returns a PrivKey

func PubKeyFromBytes Uses

func PubKeyFromBytes(pubKeyBytes []byte) (pubKey crypto.PubKey, err error)

PubKeyFromBytes unmarshals public key bytes and returns a PubKey

func RegisterCrypto Uses

func RegisterCrypto(cdc *codec.Codec)

RegisterCrypto registers all crypto dependency types with the provided Amino codec.

Package codec imports 6 packages (graph) and is imported by 24 packages. Updated 2020-06-08. Refresh now. Tools for package owners.