We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5075bc commit d93ad02Copy full SHA for d93ad02
1 file changed
crypto.py
@@ -97,7 +97,7 @@ def check(key, filename):
97
98
chunk = infile.read(chunksize)
99
test = decryptor.decrypt(chunk)
100
- if test[16:32] != secret:
+ if secret not in test:
101
exit(red+bold+"[!] Wrong Password!"+end)
102
103
0 commit comments