Overview

Base32

Build status

Implementation of RFC 4648. This software is released under an MIT license

Nuget

PM> Install-Package Base32

Encoding

This takes a byte array and converts it to an RFC compliant fully padded base32 string

byte[] data = ...
string base32EncodedValue = Base32.Base32Encoder.Encode(data);

Decoding

This converts a base32 string to a byte array. It is tolerant of strings that aren't fully padded or improperly padded.

byte[] data = Base32.Base32Encoder.Decode(base32EncodedValue);

Linqpad

For those who use Linqpad version 4.51.03 or greater this package contains samples that demonstrate how to use the types in this library.

Simply add this package to a query then move to the samples tab in the saved query panel.