title: TypeError: ord() expected string of length 1, but int found
body: <p>I try to implement a AES algorithm in python 3.While implementing this I found an error in ord() function.I just try to convert the code from python 2.3 to python 3.How can I fix the error?
  My code line is :</p>
  
  <pre><code>key = map(ord, key)
  </code></pre>
  
  <p>Thanks in advance</p>