base58

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

README

base58

Various base58 function utilities

Documentation

Index

Constants

View Source
const BTCAlphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"

alphabet is the modified base58 alphabet used by Bitcoin.

View Source
const FlickrAlphabet = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"

Variables

This section is empty.

Functions

func Decode

func Decode(b string) []byte

Decode decodes a modified base58 string to a byte slice, using BTCAlphabet

func DecodeAlphabet

func DecodeAlphabet(b, alphabet string) []byte

DecodeAlphabet decodes a modified base58 string to a byte slice, using alphabet.

func Encode

func Encode(b []byte) string

Encode encodes a byte slice to a modified base58 string, using BTCAlphabet

func EncodeAlphabet

func EncodeAlphabet(b []byte, alphabet string) string

Encode encodes a byte slice to a modified base58 string, using alphabet

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL