News for hackers. Stuff that matters.
Re:Updating the Git protocol for SHA-256 by john-shaffer on Saturday June 20, 2020 @10:09AM (#23584018)
> 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

There are no comments on this comment yet.