cosmos-sdk: Index | Files

package codec

import ""


Package Files


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.