Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0c7d7d382 |
2
DeDRM_plugin/ineptepub.py
Executable file → Normal file
2
DeDRM_plugin/ineptepub.py
Executable file → Normal file
@@ -311,7 +311,7 @@ def _load_crypto_pycrypto():
|
||||
total = 0
|
||||
for byte in bytes:
|
||||
total = (total << 8) + byte
|
||||
return long(total)
|
||||
return total
|
||||
|
||||
def decrypt(self, data):
|
||||
return _PKCS1_v1_5.new(self._rsa).decrypt(data, 172)
|
||||
|
||||
Reference in New Issue
Block a user