title: Swift how to convert hash value number of text back into text
body: <p>I am using swift to get some text a user puts into the textfield, and then I want to get the hash-value number of the characters they put in. I have this code to get the text and each of its  elements </p>
  
  <pre><code>  var plaintext = textField.text
          var countedtext = countElements(plaintext)
          for var index = 0; index &lt; countedtext; ++index {
             let idx = advance(plaintext.startIndex, index)
              var element = plaintext[idx]
              var n = 1
              var newnumber = element.hashValue + n;
  
              newtext.append(newcharter)
  </code></pre>
  
  <p>I use <code>var newnumber = element.hashValue + n;</code> To get  the hash value of the character and plus it by one to get the letter after that letter. So if I was to type in "A" it would get the hash value number plus it by one and convert that number back into text form which would be "B". I check to see would this work by getting both hash values of A and B, "A" was <code>4799450059485595655</code> and "B" was <code>4799450059485595656</code>. I searched google but was not able to find a way to do this. </p>
  
  <p>Thanks in advance</p>