base32

package
v0.0.0-...-83f3d11 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package base32 implmenets utilities for encoding and decoding text using I2P's alphabet

Index

Constants

View Source
const I2PEncodeAlphabet = "abcdefghijklmnopqrstuvwxyz234567"

I2PEncodeAlphabet is the base32 encoding used throughout I2P. RFC 3548 using lowercase characters.

Variables

I2PEncoding is the standard base32 encoding used through I2P.

Functions

func DecodeString

func DecodeString(data string) ([]byte, error)

DecodeString decodes base64 string to []byte I2PEncoding

func EncodeToString

func EncodeToString(data []byte) string

EncodeToString encodes []byte to a base32 string using I2PEncoding

Types

This section is empty.

Jump to

Keyboard shortcuts

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