Fixed issue of unpadding before verifying

in deprecated streaming code
Refactored aes code cleaner, use pylint