Skip to content

Commit 83085f7

Browse files
committed
Switch from pycrypto to pycryptodome
1 parent 3390878 commit 83085f7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

aux.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ def cleanUp(filePath):
44
os.remove(filePath)
55

66
def getRandomString(length):
7-
return("".join(random.choice(string.ascii_letters + string.digits) for i in range(length)))
8-
7+
return(bytes("".join(random.choice(string.ascii_letters + string.digits) for i in range(length)), "ascii"))

0 commit comments

Comments
 (0)