Why programming makes me feel stupid, episode $n+1: I needed a base58 codec and figured I'd write a small/simple one myself. I've written codecs for base-10,16,32,64 before, so this ought to be easy!

Then I realized that a naive implementation needs integer division on the entire input, and for larger-than-64-bit values that's... not trivial at all.

Ended up just grabbing an existing library. :blobblush:

Sign in to participate in the conversation

Welcome to your niu world ! We are a cute and loving international community O(≧▽≦)O !
We are a moderated instance, that aren't supporting harassment nor hateful speech. But we aren't a "safe" space, we won't prevent you to interact with instances that aren't respecting our rules.
"Be conservative in what you send and liberal in what you receive." - Netiquette
The main language used here is English, but for most of us this isn't our main language, so it's a great place to learn!