Talk:Keys

From Vita Developer wiki
Jump to navigation Jump to search

Database Reconstruction Magic

BEBAFECA (or CAFEBABE byteswapped)

PSP/PSP2/PS3 NID Suffixes

PS3 noname exports

bc5eba9e042504905b64274994d9c41f
  • algo is sha1 (name+0xsuffix) where name+suffix is all ascii

PSVITA noname exports

c1b886af5c31846467e7ba5e2cffd64a
  • algo is sha1(name + suffix) where name + suffix is hex

PFS HMAC Usage (Vitashell Example)

  • input : echo -n '706673534b4b657902000000000000008cf037f28ea485a53610a0e2b0c57c4d704bfdae23f27bdb82be52bbcee7220f' | xxd -r -p | openssl dgst -sha256 -mac hmac -macopt hexkey:8c5d3a4b9d9bf4b453bce6cdc34331d8
  • output : dad6825c22e67e45ed29ea8d16d32b6bc16d513210007df4cb23e723e4494bca

PFS CBC Usage (Vitashell Example)

  • input : openssl aes-128-cbc -d -in encrypted_key.bin -out key.bin -nosalt -K 00298CDF4428E72C8785DAE0923C60BD -iv 8CF037F28EA485A53610A0E2B0C57C4D -p -nopad
  • output : 42B015D142B0F35F8251607A0AE87A0F

Portability Keysets

Enc Key 0 (SceShell)

  • 6AA3C1F8641C9142822BBC7A74CC9241A18CD5B1B9A4B89E472F21EBAA254072

Dec Key 0 (SceShell)

  • 454250564C34350A8C3AA565A6DD8F41F61F794D65B870D0D07A58D8420FC9EA
  • Starts With EBP Magic!

Keyset 3 (SceShell)

  • A9138DADE0F2C77DB24BF111ED8D16B9

Keyset 4 (SceShell)

  • 65848998426DD3E96636616436313035