Keys: Difference between revisions

From Vita Developer wiki
Jump to navigation Jump to search
Line 28: Line 28:
  };
  };


===PSP2 index.dat Keys===
== index.dat keysets ==
These AES-CBC 256-bit keys are used in [[Hidden_Modes#On_PS_Vita|index.dat]] file decryption.
These AES-CBC 256-bit keys are used in [[Hidden_Modes#On_PS_Vita|index.dat]] file decryption.
private byte[] PSP2IndexKey180 = new byte[32] {
  0x27, 0x2A, 0xE4, 0x37, 0x8C, 0xB0, 0x6B, 0xF3, 0xF6, 0x58, 0xF5, 0x1C, 0x77, 0xAC, 0xA2, 0x76,
  0x9B, 0xE8, 0x7F, 0xB1, 0x9B, 0xBF, 0x3D, 0x4D, 0x6B, 0x1B, 0x0E, 0xD2, 0x26, 0xE3, 0x9C, 0xC6
};


private byte[] PSP2IndexKey = new byte[32] {
{| class="wikitable sortable"
  0x06, 0xCC, 0x2E, 0x8F, 0xD4, 0x08, 0x05, 0xA7, 0x36, 0xF1, 0x7C, 0xF2, 0xC1, 0x3D, 0x58, 0xA6,
|-
  0xC8, 0xCF, 0x10, 0x7E, 0x9E, 0x4A, 0x66, 0xAE, 0x25, 0xD3, 0x9C, 0xA2, 0x1C, 0x25, 0x31, 0xCC
! Type !! Version !! RIV || ERK
};
|-
 
| index.dat || 1.00-1.691 || <code>37FA4ED2B6618B59B34F77FBB92947B</code> || <code>06CC2E8FD40805A736F17CF2C13D58A6C8CF107E9E4A66AE25D39CA21C2531CC</code>
private byte[] PSP2IndexIV = new byte[16] {
|-
  0x37, 0xFA, 0x4E, 0xD2, 0xB6, 0x61, 0x8B, 0x59, 0xB3, 0x4F, 0x77, 0x0F, 0xBB, 0x92, 0x94, 0x7B
| index.dat || 1.80+ || <code>37FA4ED2B6618B59B34F77FBB92947B</code> || <code>272AE4378CB06BF3F658F51C77ACA2769BE87FB19BBF3D4D6B1B0ED226E39CC6</code>
};
|-
|}

Revision as of 16:23, 11 June 2015


Usefull information

ID Storage Source and explanation: [1] Save Data Source: [2] Kirk Engine Source: [3]

Location

keyfiles should be placed in ~/.vita or %userprofile%\vitakeys

Naming

naming:

  • file prefix: pkg
  • file suffix: 092 103 105 106 150 151... etc.
  • key file (erk): %s-key-%s
  • iv file (riv): %s-iv-%s
  • ctype file (curvetype): %s-ctype-%s
  • pub file (public): %s-pub-%s
  • priv file (private): %s-priv-%s

PS Vita Keys

These are the PS Vita Keys.

PSP2 PKG Keys

These AES-CBC 128-bit keys are used in PKG file decryption.

// Used on PS Vita for Beta < 1.00 packages
private byte[] PSP2AesKey = new byte[16] {
  0x07, 0xF2, 0xC6, 0x82, 0x90, 0xB5, 0x0D, 0x2C, 0x33, 0x81, 0x8D, 0x70, 0x9B, 0x60, 0xE6, 0x2B
};

index.dat keysets

These AES-CBC 256-bit keys are used in index.dat file decryption.

Type Version RIV ERK
index.dat 1.00-1.691 37FA4ED2B6618B59B34F77FBB92947B 06CC2E8FD40805A736F17CF2C13D58A6C8CF107E9E4A66AE25D39CA21C2531CC
index.dat 1.80+ 37FA4ED2B6618B59B34F77FBB92947B 272AE4378CB06BF3F658F51C77ACA2769BE87FB19BBF3D4D6B1B0ED226E39CC6