Follow

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
niu.moe

We are a cute and loving international community O(≧▽≦)O !