base36

package
v0.30.16 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

base36 supports Base36 encoding and decoding.

Index

Constants

View Source
const (
	Md5Base36Length int = 25
)

Md5Base36Length is the length for a MD5 Base36 string

Variables

This section is empty.

Functions

func Decode36

func Decode36(b36 []byte) ([]byte, error)

Decode36 returns a decoded byte array given an encoded byte array.

func Decode36String

func Decode36String(s36 string) ([]byte, error)

Decode36String returns a decoded byte array given an encoded string.

func Encode36

func Encode36(ba []byte) string

Encode36 returns an encoded string given a byte array.

func Encode36HexString

func Encode36HexString(s16 string) string

Encode36HexString returns an encoded string given a string.

func Encode36String

func Encode36String(s string) string

Encode36String returns an encoded string given a string.

func Md5Base36

func Md5Base36(s string) string

Md5Base36 returns a Base36 encoded MD5 hash of a string.

func Md5String

func Md5String(s string) string

Md5String is an alias for Md5Base36.

Types

This section is empty.

Jump to

Keyboard shortcuts

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