parameters: (v)
return_statement: return (b'\0' * (origlen - newlen) + bseq(reversed(result)))
docstring: Decode a Base58 encoded string
docstring_summary: Decode a Base58 encoded string
docstring_tokens: Decode a Base58 encoded string
function: def b58decode(v):
      '''Decode a Base58 encoded string'''
  
      v = scrub_input(v)
  
      origlen = len(v)
      v = v.lstrip(alphabet[0:1])
      newlen = len(v)
  
      acc = b58decode_int(v)
  
      result = []
      while acc > 0:
          acc, mod = divmod(acc, 256)
          result.append(mod)
  
      return (b'\0' * (origlen - newlen) + bseq(reversed(result)))
function_tokens: def b58decode ( v ) : v = scrub_input ( v ) origlen = len ( v ) v = v . lstrip ( alphabet [ 0 : 1 ] ) newlen = len ( v ) acc = b58decode_int ( v ) result = [ ] while acc > 0 : acc , mod = divmod ( acc , 256 ) result . append ( mod ) return ( b'\0' * ( origlen - newlen ) + bseq ( reversed ( result ) ) )