3 ms·
> If you wanted to even it out to 64 characters, you could create a "modified base-64"... My go-to encoding is base64url in RFC 4648. It's simply base64 with -
by john-shaffer 6y ago
> If you wanted to even it out to 64 characters, you could create a "modified base-64"...
My go-to encoding is base64url in RFC 4648. It's simply base64 with - instead of + and _ instead of /. In a case like this where the length is known, you can omit the trailing "="s so no escaping is necessary.
https://tools.ietf.org/html/rfc4648#section-5 https://tools.ietf.org/html/rfc4648#section-5