title: How to create our own numeric system?
body: <p>The question is for any modern unmanaged language.C-like languages,delphi,anything.</p>
  
  <p>I'd like to create my own cryptography algorithm that ,unlike others,decreases the length of the encrypted string.</p>
  
  <p>My first thought was to create my own numberic system similiar to hexadicimal,but with more characters.For example [0..9] + [A..Z].That would make a number upto 40 into one digit value.I could also add other digits such as '!,./?)(#!' and so on.</p>
  
  <p>My question is how to implement such numberic system from A to Z inculding 0 to 9.Do I have to declare every single value as constant up to 0xZZZZZZZZ? that would make my life terrible</p>
  
  <p>Please give me your suggestions,examples. :)</p>