Base3264-UrlEncoder 1.0.2

Standards based implementations of various Base32 and Base64 encoding/decoding methods. These are designed to encode binary data to plain text, and decode the resulting text back to the original binary. This is useful when you need to transfer binary data through technologies that only support text (such as including binary security tokens in URLs).

Base32Url encodes with only the characters A to Z and 2 to 7. No hyphens, underscores, pluses, slashes or equals are used, making it usable as a URL token in almost all circumstances. Base32Url also supports custom alphabets. A custom case sensitive alphabet with only consonant (non vowel) characters can be used to ensure your tokens do not contain accidental profanities. The following is an example that avoids vowels, the letter L and has no numeric characters: BCDFGHKMNPQRSTVWXYZbcdfghkmnpqrs.

Base64Url is more compact than Base32Url and it is almost always usable as a URL token or file-name. The only non alpha-numeric characters Base64Url contains are the hyphen (-) and underscore (_) characters, neither of these need further encoding for use in URLs or file-names.
* Supports standard Base32 with padding characters (=) per Base32 from RFC 4648.
* Supports the Base32 extension / alternate alphabet z-base-32 and the asymmetric crockford encoding.

Install-Package Base3264-UrlEncoder -Version 1.0.2
dotnet add package Base3264-UrlEncoder --version 1.0.2
<PackageReference Include="Base3264-UrlEncoder" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Base3264-UrlEncoder --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Support for crockford base32 encoding


This package has no dependencies.

Version History

Version Downloads Last updated
1.0.2 9,406 5/31/2017
1.0.1 1,706 6/28/2014
1.0.0 426 6/28/2014