title: Encrypting and Decryption of a string.
body: <p>I was given a task to encrypt a string, but I must create my own encryption techniques.
  I have an idea of how to do it. I can associate each value in a string with a number, like so:</p>
  
  <pre><code>A = 0
  B = 1
  ...
  </code></pre>
  
  <p>And then I want to substitute characters for digits in the tens and higher: if I enter the string "DOG" it must display </p>
  
  <pre><code>3.46 // . is 1 and .. is 2
       // .4 is 14
  </code></pre>
  
  <p>I would like hear your ideas.</p>
  
  <p>I was given a visual basic form to work on. I can enter a string; that is fine.</p>
  
  <pre><code>Input = txtInputString.Text
  </code></pre>
  
  <p>But I also have to decrypt a string. To show I want to decrypt the string I have to have</p>
  
  <pre><code>string, false
  </code></pre>
  
  <p>, the false showing that i want to decrypt the string. How do i do this?   </p>