title: Encoding a number, C# implementation of z-base-32 or something else?
body: <p>I need to encode/decode an integer which is up to 9 digits long but most often 7 digits long. I'd like to make it easier to communicate/memorise - it will be communicated by phone, copied &amp; pasted, keyed in from a card/memory/label, hand-written on labels and generally abused!</p>
  <p>I'm looking to reduce the number of digits (whilst adding a checksum) using a <a href="http://en.wikipedia.org/wiki/Base32" rel="nofollow noreferrer">base 32</a> scheme. I'm most in favour of <a href="http://zooko.com/repos/z-base-32/base32/DESIGN" rel="nofollow noreferrer">z-base-32</a> (over the <a href="https://www.rfc-editor.org/rfc/rfc4648" rel="nofollow noreferrer">RFC4648</a> implementation) because of some of the design  goals (e.g. handwriting) and choice of alphabet (lower-case, permuted to favour characters that are easier to read, write, speak, and remember). However, I can't find a C# implementation and I'm concerned about porting from the existing Python implementation.</p>
  <p>Does anyone have a C# implementation? Alternatively, does anyone have a set of test cases (other than the examples in the spec) that I can use to validate a port?</p>
  <p>I'm open to suggestions about alternative encoding schemes.</p>