@Innocenzo said in AES CTR Mode on WiPy 2.0: cipher = AES(key, AES.MODE_CTR, counter) change it to: cipher = AES(key, AES.MODE_CTR, counter=counter)