Module encoding

Source
👎Deprecated: This module is deprecated; use ::zcash_keys::encoding instead.

Enums§

Bech32DecodeError
TransparentCodecError

Traits§

AddressCodec
A trait for encoding and decoding Zcash addresses.

Functions§

decode_extended_full_viewing_key
Decodes an ExtendedFullViewingKey from a Bech32-encoded string, verifying that it matches the provided human-readable prefix.
decode_extended_spending_key
Decodes an ExtendedSpendingKey from a Bech32-encoded string.
decode_extfvk_with_network
Decodes an ExtendedFullViewingKey and the [NetworkType] that it is intended for use with from a Bech32-encoded string.
decode_payment_address
Decodes a PaymentAddress from a Bech32-encoded string.
decode_transparent_address
Decodes a [TransparentAddress] from a Base58Check-encoded string.
encode_extended_full_viewing_key
Writes an ExtendedFullViewingKey as a Bech32-encoded string.
encode_extended_spending_key
Writes an ExtendedSpendingKey as a Bech32-encoded string.
encode_payment_address
Writes a PaymentAddress as a Bech32-encoded string.
encode_payment_address_p
Writes a PaymentAddress as a Bech32-encoded string using the human-readable prefix values defined in the specified network parameters.
encode_transparent_address
Writes a [TransparentAddress] as a Base58Check-encoded string.
encode_transparent_address_p
Writes a [TransparentAddress] as a Base58Check-encoded string. using the human-readable prefix values defined in the specified network parameters.