func PubKeyFromProto(k pc.PublicKey) (crypto.PubKey, error)
PubKeyFromProto takes a protobuf Pubkey and transforms it to a crypto.Pubkey
func PubKeyToProto(k crypto.PubKey) (pc.PublicKey, error)
PubKeyToProto takes crypto.PubKey and transforms it to a protobuf Pubkey