incorporated ECB mode of operation to test 
incorporated ECB mode of operation to test 

line 34 added a parameter in the AES constructor 'AES.MODE_ECB' tell it what mode of operation to use. i havent tested it, it might have an error.
cipher = AES.AESCipher(self.key[:32], AES.MODE_ECB) is the code i copied.
killbotlogic/FundamentalsOfSecurity