3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 18:52:41 +01:00

change the b32 alphabet for absolutely no reason

This commit is contained in:
Shivaram Lingamneni 2019-02-07 20:41:25 -05:00
parent 0d2cf21cec
commit f790a910cd

View File

@ -10,8 +10,8 @@ import (
)
var (
// standard b32 alphabet, but in lowercase for silly aesthetic reasons
b32encoder = base32.NewEncoding("abcdefghijklmnopqrstuvwxyz234567").WithPadding(base32.NoPadding)
// slingamn's own private b32 alphabet, removing 1, l, o, and 0
b32encoder = base32.NewEncoding("abcdefghijkmnpqrstuvwxyz23456789").WithPadding(base32.NoPadding)
)
const (