title: Hash function to obtain a limited length result
body: <p>I need to hash a number (about 22 digits) and the result length must be less than 12 characters. It can be a number or a mix of characters, and must be unique. (The number entered will be unique too).</p>
  
  <p>For example, if the number entered is 000000000000000000001, the result should be something like 2s5As5A62s.</p>
  
  <p>I looked at the typicals, like MD5, SHA-1, etc., but they give high length results.</p>