Keys

From Vita Developer wiki
Jump to navigation Jump to search


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

// 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
};

PSP2 index.dat Keys

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[] PSP2IndexKey1691 = new byte[32] {
  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
};
private byte[] PSP2IndexIV = new byte[16] {
  0x37, 0xFA, 0x4E, 0xD2, 0xB6, 0x61, 0x8B, 0x59, 0xB3, 0x4F, 0x77, 0x0F, 0xBB, 0x92, 0x94, 0x7B
};