Skip to content

Commit 1f9302f

Browse files
author
Bjoern Kerler
committed
Update to cryptodome
1 parent 9356b9b commit 1f9302f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

ofp_mtk_decrypt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import os
66
import sys
77
import hashlib
8-
from Crypto.Cipher import AES
8+
from Cryptodome.Cipher import AES
99
from struct import unpack
1010
from binascii import unhexlify, hexlify
1111

ofp_qc_decrypt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import zipfile
77
from struct import unpack
88
from binascii import unhexlify, hexlify
9-
from Crypto.Cipher import AES
9+
from Cryptodome.Cipher import AES
1010
import hashlib
1111
import shutil
1212

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
pycryptodome
2+
pycryptodomex
23
docopt

0 commit comments

Comments
 (0)