Fixed AES IV issue and string conversion issue.