def post_decrypt_data(self, data): """Remove useless symbols which appear over padding for AES (PKCS#7).""" # print("---RawRNCryptor---")#debug # print(data) #debug # print(bord(data[-1]))#debug data = data[:-bord(data[-1])] return data
def post_decrypt_data(self, data): """Remove useless symbols which appear over padding for AES (PKCS#7).""" data = data[:-bord(data[-1])] return data