title: Python AES 128 CBC decrypt wrong result
body: <p>I do not understand why i don't get the same result with this python script and this bash command line:</p>
  
  <p>python script:</p>
  
  <pre><code>from Crypto.Cipher import AES
  import binascii
  
  decryptor = AES.new("abcdef1234567890", AES.MODE_CBC,IV=binascii.unhexlify("a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1"))
  
  
  data_crypte="1234123412341234"
  clair = decryptor.decrypt(data_crypte)
  
  f=open("output_file_py","wb")
  f.write(clair)
  f.close()
  </code></pre>
  
  <p>bash command line:</p>
  
  <pre><code>$ echo -n 1234123412341234 | openssl enc -aes-128-cbc -K $(echo -n 'abcdef1234567890' | xxd -p) -iv a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1 -nopad -out "output_file_enc" -d
  </code></pre>
  
  <p>Thanks</p>