Base58Check encoding: Difference between revisions

Content added Content deleted
Line 647: Line 647:
=={{header|Nim}}==
=={{header|Nim}}==
{{libheader|bignum}}
{{libheader|bignum}}
This version takes in account the leading zeroes in hexadecimal representation. It accepts also arrays or sequences of bytes as input, taking in account the leading zero bytes as described in https://en.bitcoin.it/wiki/Base58Check_encoding#Base58_symbol_chart
<lang Nim>import sequtils, strutils
<lang Nim>import sequtils, strutils
import bignum
import bignum