Skip to content

Commit d93ad02

Browse files
authored
Update crypto.py
1 parent b5075bc commit d93ad02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def check(key, filename):
9797

9898
chunk = infile.read(chunksize)
9999
test = decryptor.decrypt(chunk)
100-
if test[16:32] != secret:
100+
if secret not in test:
101101
exit(red+bold+"[!] Wrong Password!"+end)
102102

103103

0 commit comments

Comments
 (0)