I’ve actually had some time the last few days to work on NextHub. I’m fixing some bugs, making semantic changes, performance improvements, and I’ll be adding some new UI features and making sure that the features we currently have in place are working properly.
Today, I decided to tackle a base32 problem we were having. Per the official base32 RFC specs, the ‘=’ character should be used to pad the encoded output. For some reason, the code that we were using wasn’t doing this. I searched around, and discovered the University of California’s Brunet project. Their project, an open source P2P library written in C#, includes a Base32.cs C# implementation of the base32 encoding and decoding algorithms. This implementation takes into account padding.
I decided to take that source code, change some of it up, and then make a DLL out of it. Since there’s no other good .NET base32 encoding/decoding library, I figured I’d put it up here for anyone to download.
Download: http://www.fangsoft.net/public/Base32.7z
You’ll need an archive manager that can open 7-Zip archives to open this file. Included is the Base32.dll file and source code. All credit should be given to the Brunet team at UC. I merely cleaned it up and created a DLL out of it.
If you notice any problems or bugs, please let me know.
