Line 285:
Line 285:
===Part E: Encrypted data contents===
===Part E: Encrypted data contents===
−
This part is encrypted. The encryption key is the PRNG seed, extracted with [xyzzy], with an IV of all 0x00. This key is unique to the Wii that created content.bin
+
This part is encrypted. The encryption key is the PRNG seed, extracted with [xyzzy], with an IV of the 2 byte content index, followed by 14 0x00's. This key is unique to the Wii that created content.bin
It consists of several separate "files", one for each of the contents with the 0x0001 type flag in the TMD content_record, padded to 64-byte boundary.
It consists of several separate "files", one for each of the contents with the 0x0001 type flag in the TMD content_record, padded to 64-byte boundary.