qzio / b64

go version of base64 but with url safe encoding.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

b64

Mini version of base64 but using url safe base64 encoding with padding stripped by default. (as per jwt standard) To disable stripping, use the -nostrip flag.

# encode
echo 'foo' | b64

Zm9vCg==

# decode
echo 'Zm9vCg==' | b64 -d

foo

About

go version of base64 but with url safe encoding.


Languages

Language:Go 73.5%Language:Shell 23.0%Language:Makefile 3.4%