An open API service indexing awesome lists of open source software.

https://github.com/decred/base58


https://github.com/decred/base58

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

base58
======

[![Build Status](https://github.com/decred/base58/workflows/Build%20and%20Test/badge.svg)](https://github.com/decred/base58/actions)
[![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org)
[![Doc](https://img.shields.io/badge/doc-reference-blue.svg)](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.