mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-08 07:06:43 +00:00

* [NOD-517] Remove copyright notices from all doc.go. * [NOD-517] Updated the root doc.go. * [NOD-517] Remove all cov_report.sh and test_coverage.txt. * [NOD-517] Make all doc.go use the same style of comment. * [NOD-517] Update dagconfig doc.go. * [NOD-517] Update blockdag doc.go. * [NOD-517] Update doc.go in connmgr. * [NOD-517] Update doc.go in fullblocktests. * [NOD-517] Update doc.go in database. * [NOD-517] Update doc.go in ecc. * [NOD-517] Update doc.go in rpctest. * [NOD-517] Removed superfluous license in logs. * [NOD-517] Update doc.go in mempool. * [NOD-517] Updated doc.go in peer. * [NOD-517] Update doc.go in rpcclient. * [NOD-517] Update doc.go in txscript. * [NOD-517] Update doc.go in util. * [NOD-517] Update doc.go in base58. * [NOD-517] Update doc.go in bech32. * [NOD-517] Update doc.go in txsort. * [NOD-517] Update doc.go in wire. * [NOD-517] Fix indentation. * [NOD-517] Add a copyright notice to the main doc.go. * [NOD-517] Add Conformal to the license notices. * [NOD-517] Remove superfluous language from a doc. * [NOD-517] Fix bad example.
20 lines
718 B
Go
20 lines
718 B
Go
/*
|
|
Package base58 provides an API for working with modified base58 and Base58Check
|
|
encodings.
|
|
|
|
Modified Base58 Encoding
|
|
|
|
Standard base58 encoding is similar to standard base64 encoding except, as the
|
|
name implies, it uses a 58 character alphabet which results in an alphanumeric
|
|
string and allows some characters which are problematic for humans to be
|
|
excluded. Due to this, there can be various base58 alphabets.
|
|
|
|
The modified base58 alphabet used by kaspa, and hence this package, omits the
|
|
0, O, I, and l characters that look the same in many fonts and are therefore
|
|
hard to humans to distinguish.
|
|
|
|
At the time of this writing, the Base58 encoding scheme is primarily used
|
|
for kaspa private keys.
|
|
*/
|
|
package base58
|