common

package
v0.0.0-...-19c2005 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: GPL-3.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeBase58

func DecodeBase58(data string) []byte

func EncodeBase58

func EncodeBase58(data []byte) string

func Sha3

func Sha3(raw []byte) []byte

func SliceZero

func SliceZero(data []byte)

Zero each byte.

Types

type Base58Encoder

type Base58Encoder interface {
	DoEncodeBase58(data []byte) string
	DoDecodeBase58(data string) []byte
}

type Encoder

type Encoder struct {
	Base58Encoder
}

func (*Encoder) DoDecodeBase58

func (b *Encoder) DoDecodeBase58(data string) []byte

func (*Encoder) DoEncodeBase58

func (b *Encoder) DoEncodeBase58(data []byte) string

Jump to

Keyboard shortcuts

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