summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/crypter/NCryptIn.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/crypter/NCryptIn.py')
-rw-r--r--pyload/plugin/crypter/NCryptIn.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/crypter/NCryptIn.py b/pyload/plugin/crypter/NCryptIn.py
index bc9702f21..2b357395b 100644
--- a/pyload/plugin/crypter/NCryptIn.py
+++ b/pyload/plugin/crypter/NCryptIn.py
@@ -3,7 +3,7 @@
import binascii
import re
-from Crypto.Cipher import AES
+import Crypto
from pyload.plugin.Crypter import Crypter
from pyload.plugin.captcha.ReCaptcha import ReCaptcha
@@ -298,7 +298,7 @@ class NCryptIn(Crypter):
# Decrypt
Key = key
IV = key
- obj = AES.new(Key, AES.MODE_CBC, IV)
+ obj = Crypto.Cipher.AES.new(Key, Crypto.Cipher.AES.MODE_CBC, IV)
text = obj.decrypt(crypted.decode('base64'))
# Extract links