diff --git a/DeDRM_plugin/ineptepub.py b/DeDRM_plugin/ineptepub.py index 8d88733..f4665b2 100755 --- a/DeDRM_plugin/ineptepub.py +++ b/DeDRM_plugin/ineptepub.py @@ -311,7 +311,7 @@ def _load_crypto_pycrypto(): total = 0 for byte in bytes: total = (total << 8) + byte - return total + return long(total) def decrypt(self, data): return _PKCS1_v1_5.new(self._rsa).decrypt(data, 172)