From 73d684a74f65f874a2f98b911c3fdef6cad147d7 Mon Sep 17 00:00:00 2001 From: NinjaCheetah <58050615+NinjaCheetah@users.noreply.github.com> Date: Tue, 5 Mar 2024 22:18:57 -0500 Subject: [PATCH] Removed a forgotten debug print --- src/libWiiPy/crypto.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libWiiPy/crypto.py b/src/libWiiPy/crypto.py index e5f198a..a112e2f 100644 --- a/src/libWiiPy/crypto.py +++ b/src/libWiiPy/crypto.py @@ -63,7 +63,6 @@ def decrypt_content(content_enc, title_key, content_index, content_length) -> by content_index_bin += b'\x00' # Align content to 64 bytes to ensure that all the data is being decrypted, and so it works with AES encryption. if (len(content_enc) % 64) != 0: - print("needs padding to 64 bytes") content_enc = content_enc + (b'\x00' * (64 - (len(content_enc) % 64))) # Create a new AES object with the values provided, with the content's unique ID as the IV. aes = AES.new(title_key, AES.MODE_CBC, content_index_bin)