PrivKeyFromBytes unmarshals private key bytes and returns a PrivKey
PubKeyFromBytes unmarshals public key bytes and returns a PubKey
PubkeyAminoName returns the amino route of a pubkey cdc is currently passed in, as eventually this will not be using a package level codec.
RegisterAmino registers all crypto related types in the given (amino) codec.
RegisterKeyType registers an external key type to allow decoding it from bytes