mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-06 06:24:20 -04:00
add base files
This commit is contained in:
11
lib/common/base64/base64.go
Normal file
11
lib/common/base64/base64.go
Normal file
@ -0,0 +1,11 @@
|
||||
//
|
||||
// base64 encoding with i2p's alphabet
|
||||
//
|
||||
package base64
|
||||
|
||||
import (
|
||||
b64 "encoding/base64"
|
||||
)
|
||||
|
||||
// i2p base64 encoding
|
||||
var I2PEncoding *b64.Encoding = b64.NewEncoding("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-~")
|
Reference in New Issue
Block a user