Changes

124 bytes added ,  23:58, 2 February 2009
Line 61: Line 61:     
The contents (Data section) are encrypted using the title key (decrypt it from the [[Ticket|ticket]]) and the content index (in the TMD, the 2 first bytes of the IV are the index, the last 14 bytes are zeroes) as IV.  The SHA1 of the decrypted content must match the hash that is stored in the TMD.
 
The contents (Data section) are encrypted using the title key (decrypt it from the [[Ticket|ticket]]) and the content index (in the TMD, the 2 first bytes of the IV are the index, the last 14 bytes are zeroes) as IV.  The SHA1 of the decrypted content must match the hash that is stored in the TMD.
 +
 +
In a hex editor, the beginning of any WAD will be 00 00 00 20 49 73.  This can be useful to remove a WAD from an ELF file.
    
=== Footer ===
 
=== Footer ===
 
The "footer" is an optional, unencrypted timestamp / buildstamp.
 
The "footer" is an optional, unencrypted timestamp / buildstamp.
 
[[Category:Wii_Software]]
 
[[Category:Wii_Software]]
279

edits