https://github.com/decred/base58
https://github.com/decred/base58
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/decred/base58
- Owner: decred
- License: isc
- Created: 2017-10-10T18:31:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-14T14:59:40.000Z (about 3 years ago)
- Last Synced: 2025-03-26T04:21:26.434Z (about 1 year ago)
- Language: Go
- Size: 49.8 KB
- Stars: 7
- Watchers: 5
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
base58
======
[](https://github.com/decred/base58/actions)
[](http://copyfree.org)
[](https://pkg.go.dev/github.com/decred/base58)
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,
as described [here](https://en.bitcoin.it/wiki/Base58Check_encoding).
A comprehensive suite of tests is provided to ensure proper functionality.
## Installation and Updating
```bash
$ go get -u github.com/decred/base58
```
## Examples
* [Decode Example](https://godoc.org/github.com/decred/base58#example-Decode)
Demonstrates how to decode modified base58 encoded data.
* [Encode Example](https://godoc.org/github.com/decred/base58#example-Encode)
Demonstrates how to encode data using the modified base58 encoding scheme.
* [CheckDecode Example](https://godoc.org/github.com/decred/base58#example-CheckDecode)
Demonstrates how to decode Base58Check encoded data.
* [CheckEncode Example](https://godoc.org/github.com/decred/base58#example-CheckEncode)
Demonstrates how to encode data using the Base58Check encoding scheme.
## License
Package base58 is licensed under the [copyfree](http://copyfree.org) ISC
License.