Changes

Jump to navigation Jump to search
m
Line 6: Line 6:  
.pak files are encrypted using {{wp|Blowfish (cipher)|Blowfish}} in {{wp|Block cipher mode of operation#Cipher Block_Chaining .28CBC.29|CBC mode}} with a 16-byte key. When an encrypted block begins, decryption is initialized by reading an 8-byte, plaintext IV ({{wp|initialization vector}}) from the file. From then on, Blowfish decryption commences.
 
.pak files are encrypted using {{wp|Blowfish (cipher)|Blowfish}} in {{wp|Block cipher mode of operation#Cipher Block_Chaining .28CBC.29|CBC mode}} with a 16-byte key. When an encrypted block begins, decryption is initialized by reading an 8-byte, plaintext IV ({{wp|initialization vector}}) from the file. From then on, Blowfish decryption commences.
   −
Each .pak file has its own encryption key. For older games, keys for the different packs are found in [[packlist.dat]]. Since ManiaPlanet, these keys are sent from the master server as "sub-keys" (stored in profile chunks for offline purpose) and calculated into final keys during runtime. ManiaPlanet.pak and Resource.pak are the only two that have these sub-keys stored directly in a function. ManiaPlanet .pak files also have an additional "file key" (only one) used to decrypt the files inside that is calculated differently by hashing the sub-key:
+
Each .pak file has its own encryption key. For older games, keys for the different packs are found in [[packlist.dat]]. Since ManiaPlanet, these keys are sent from the master server as "sub-keys" (stored in profile chunks for offline purpose) and calculated into final keys during runtime. ManiaPlanet.pak and Resource.pak are the only two that have these sub-keys stored directly in a function. ManiaPlanet .pak files also have an additional "file key" (only one per .pak file) used to decrypt the files inside that is calculated differently by hashing the sub-key:
    
  "[sub-key]" + "NadeoPak"
 
  "[sub-key]" + "NadeoPak"
44

edits

Navigation menu