base58

package
v0.0.0-...-7621e06 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package base58 converts between binary and Base58 for 32/64 length strings.

Ported from Firedancer: https://github.com/firedancer-io/firedancer/blob/main/src/ballet/base58/fd_base58.h

Original author: Philip Taffet <phtaffet@jumptrading.com>

Index

Constants

This section is empty.

Variables

View Source
var ErrEncode = errors.New("base58 encoding error")

Functions

func Decode32

func Decode32(out *[32]byte, encoded []byte) (ok bool)

func Encode

func Encode(buf []byte) string

func Encode32

func Encode32(out *[44]byte, in [32]byte) uint

Types

This section is empty.

Jump to

Keyboard shortcuts

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