base58

package
v0.0.0-...-5ed304f Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDecode

func CheckDecode(checkEncoded string) ([]byte, []byte, error)

CheckDecode decodes a base-58 check encoded string into a version and a byte slice. Version is a slice, not a byte, to handle for multi-length prefixes (ZCash).

func CheckEncode

func CheckEncode(version, decoded []byte) string

CheckEncode encodes a version and a byte slice into a base-58 check encoded string. Version is a slice, not a byte, to handle for multi-length prefixes (ZCash).

func Decode

func Decode(encoded string) ([]byte, error)

Decode decodes a base-58 encoded string into a byte slice

func Encode

func Encode(decoded []byte) string

Encode encodes a byte slice into a base-58 encoded string

Types

This section is empty.

Jump to

Keyboard shortcuts

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