Base58 Encoder/Decoder

Base58 is a group of binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-58 representation. The term Base58 originates from a specific MIME content transfer encoding. Each base58 digit represents exactly 6 bits of data. Three 8-bit bytes (i.e., a total of 24 bits) can therefore be represented by four 6-bit base58 digits.