[-] oops, remove keys

This commit is contained in:
2024-10-24 21:47:04 -04:00
parent be7017e51c
commit ce298805ab
+1 -1
View File
@@ -84,7 +84,7 @@ from Crypto.Cipher import AES
from Crypto.Util.Padding import unpad
from pathlib import Path
aes = AES.new(b"g2fcC0ZczN9MTJ61", AES.MODE_CBC, b"msx3IV0i9XE5uYZ1")
aes = AES.new(b"- key here qwq -", AES.MODE_CBC, b"- iv here meow -")
dec = lambda x: unpad(aes.decrypt(x), AES.block_size, style='pkcs7')
[f.with_suffix(".dec").write_bytes(dec(f.read_bytes()))