mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-04 21:55:18 -04:00
12 lines
236 B
Go
12 lines
236 B
Go
![]() |
//
|
||
|
// base64 encoding with i2p's alphabet
|
||
|
//
|
||
|
package base64
|
||
|
|
||
|
import (
|
||
|
b64 "encoding/base64"
|
||
|
)
|
||
|
|
||
|
// i2p base64 encoding
|
||
|
var I2PEncoding *b64.Encoding = b64.NewEncoding("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-~")
|