Generate a unique PIN code based on the phone number
<p>With a unique phone number like <code>0241194000</code>, I want to generate a PIN code based on the phone number and also a way to check or validate that the PIN was really generated from the phone number.</p>

<p>EXAMPLE</p>

<pre><code>Number  : 0241194000                      LENGHT(10)
PIN     : 675436                          LENGHT(6)     ONLY NUMERIC
Checker : 673AA3738SHZXCVDER              ANY LENGTH    ALPHANUMERIC.
</code></pre>

<p>Any links or help will be great.</p>
