code: def a2b_base58(s):
      
      v, prefix = to_long(BASE58_BASE, lambda c: BASE58_LOOKUP[c], s.encode("utf8"))
      return from_long(v, prefix, 256, lambda x: x)
docs: Convert base58 to binary using BASE58_ALPHABET.