bitcoin.encoding.base58 module

Provides methods to encode/decode to/from base58.

bitcoin.encoding.base58.ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'

str – base58 domain

bitcoin.encoding.base58.decode(value: str) → bytes[source]

Decodes a base58 string into a bytes object.

bitcoin.encoding.base58.encode(value: bytes) → str[source]

Encodes bytes using base58 convention into an human-readable string.

Sources