2014-12-19 13:40:50 +01:00
|
|
|
base58
|
|
|
|
==========
|
|
|
|
|
|
|
|
[![Build Status](https://travis-ci.org/conformal/btcutil.png?branch=master)]
|
|
|
|
(https://travis-ci.org/conformal/btcutil)
|
|
|
|
|
2014-12-22 19:36:34 +01:00
|
|
|
Package base58 provides an API for encoding and decoding to and from the
|
|
|
|
modified base58 encoding. It also provides an API to do Base58Check encoding,
|
2014-12-22 17:23:38 +01:00
|
|
|
as described [here](https://en.bitcoin.it/wiki/Base58Check_encoding).
|
2014-12-19 13:40:50 +01:00
|
|
|
|
2014-12-22 17:23:38 +01:00
|
|
|
A comprehensive suite of tests is provided to ensure proper functionality.
|
|
|
|
Package base58 is licensed under the copyfree ISC license.
|
2014-12-19 13:40:50 +01:00
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
|
|
|
[![GoDoc](https://godoc.org/github.com/conformal/btcutil/base58?status.png)]
|
|
|
|
(http://godoc.org/github.com/conformal/btcutil/base58)
|
|
|
|
|
|
|
|
Full `go doc` style documentation for the project can be viewed online without
|
|
|
|
installing this package by using the GoDoc site here:
|
|
|
|
http://godoc.org/github.com/conformal/btcutil/base58
|
|
|
|
|
|
|
|
You can also view the documentation locally once the package is installed with
|
|
|
|
the `godoc` tool by running `godoc -http=":6060"` and pointing your browser to
|
|
|
|
http://localhost:6060/pkg/github.com/conformal/btcutil/base58
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ go get github.com/conformal/btcutil/base58
|
|
|
|
```
|
|
|
|
|
2014-12-22 18:26:02 +01:00
|
|
|
## Examples
|
|
|
|
|
|
|
|
* [Decode Example]
|
|
|
|
(http://godoc.org/github.com/conformal/btcutil/base58#example-Decode)
|
|
|
|
Demonstrates how to decode modified base58 encoded data.
|
|
|
|
* [Encode Example]
|
|
|
|
(http://godoc.org/github.com/conformal/btcutil/base58#example-Encode)
|
|
|
|
Demonstrates how to encode data using the modified base58 encoding scheme.
|
|
|
|
* [CheckDecode Example]
|
|
|
|
(http://godoc.org/github.com/conformal/btcutil/base58#example-CheckDecode)
|
|
|
|
Demonstrates how to decode Base58Check encoded data.
|
|
|
|
* [CheckEncode Example]
|
|
|
|
(http://godoc.org/github.com/conformal/btcutil/base58#example-CheckEncode)
|
|
|
|
Demonstrates how to encode data using the Base58Check encoding scheme.
|
|
|
|
|
2014-12-19 13:40:50 +01:00
|
|
|
## License
|
|
|
|
|
|
|
|
Package base58 is licensed under the [copyfree](http://copyfree.org) ISC
|
|
|
|
License.
|