Update decrypt_tad.py

This commit is contained in:
Ian Skinner 2022-12-20 09:25:00 -05:00 committed by GitHub
parent 7d18cfe414
commit 2708819706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ def generate_key(string):
combine = key_hex + key_add
return unhexlify(b"%032X" % combine)
dsi_common_key = generate_key(b"00000000000000000000000000000000")
dsi_common_key = generate_key(b"00000000000000000000000000000000") # This does not seem to change the result of the program. Or if it does then I've just witnessed the most impossible event ever, where 10 sets of programs make with and without the common key all had identical SHA-256 hashes, all ran fine, all had everything in romfs working, and all had correct header info.
wii_debug_key = generate_key(b"904F39596012A4189D7ADB21B705EB99")
def align(val): #Tads have 64-byte alignment between sections